Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.343/1.343, allocations: 251.5 MB / 266.7 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009965/0.0009968, allocations: 179.5 kB / 325.9 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205 MB / 0.576 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006987/0.0006992, allocations: 93.16 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003633, allocations: 9.406 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1804, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02275/0.2032, allocations: 31.88 MB / 0.9273 GB, free: 36.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01172/0.2149, allocations: 10.38 MB / 0.9375 GB, free: 25.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002059/0.217, allocations: 135.2 kB / 0.9376 GB, free: 25.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00599/0.223, allocations: 3.459 MB / 0.941 GB, free: 22.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003165/0.2262, allocations: 1.739 MB / 0.9427 GB, free: 20.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003371/0.2296, allocations: 1.94 MB / 0.9446 GB, free: 18.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006389/0.236, allocations: 10.57 MB / 0.9549 GB, free: 7.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01082/0.2468, allocations: 10.56 MB / 0.9652 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003373/0.2502, allocations: 2.299 MB / 0.9675 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003796/0.254, allocations: 2.97 MB / 0.9704 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0009478/0.255, allocations: 268 kB / 0.9706 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003302/0.2583, allocations: 1.696 MB / 0.9723 GB, free: 5.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.002336/0.2606, allocations: 2.054 MB / 0.9743 GB, free: 3.781 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.003416/0.264, allocations: 2.316 MB / 0.9765 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01171/0.2758, allocations: 9.656 MB / 0.986 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.369e-05/0.2759, allocations: 0 / 0.986 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.887e-06/0.2759, allocations: 0 / 0.986 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0005047/0.2764, allocations: 0 / 0.986 GB, free: 7.766 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.00999/0.2864, allocations: 4.015 MB / 0.9899 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.2864, allocations: 12.03 kB / 0.9899 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001192/0.2876, allocations: 0.6781 MB / 0.9906 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004833/0.2925, allocations: 0.9667 MB / 0.9915 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005339/0.2979, allocations: 2.847 MB / 0.9943 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/0.2981, allocations: 349.7 kB / 0.9946 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007239/0.2988, allocations: 472.1 kB / 0.9951 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0127/0.3115, allocations: 7.663 MB / 1.003 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/0.3117, allocations: 23.78 kB / 1.003 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004032/0.3121, allocations: 200 kB / 1.003 GB, free: 6.066 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002923/0.3124, allocations: 316.9 kB / 1.003 GB, free: 5.754 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008615/0.321, allocations: 5.706 MB / 1.009 GB, free: 32 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03316/0.3542, allocations: 35.14 MB / 1.043 GB, free: 9.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/0.3568, allocations: 2.162 MB / 1.045 GB, free: 7.398 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.3585, allocations: 1.264 MB / 1.046 GB, free: 6.137 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.3586, allocations: 21.23 kB / 1.046 GB, free: 6.117 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.3586, allocations: 43.88 kB / 1.046 GB, free: 6.066 MB / 0.698 GB Notification: Performance of pre-optimization done (n=133): time 4.118e-06/0.3586, allocations: 4 kB / 1.046 GB, free: 6.062 MB / 0.698 GB Notification: Performance of matching and sorting (n=136): time 0.3794/0.7381, allocations: 7.126 MB / 1.053 GB, free: 141.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.7382, allocations: 66.06 kB / 1.053 GB, free: 141 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/0.7397, allocations: 1.483 MB / 1.055 GB, free: 140.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.7398, allocations: 48.42 kB / 1.055 GB, free: 140.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008764/0.7407, allocations: 2.005 MB / 1.057 GB, free: 140.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000272/0.7409, allocations: 485.2 kB / 1.057 GB, free: 140 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.7411, allocations: 148 kB / 1.057 GB, free: 140 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.524e-05/0.7411, allocations: 304.3 kB / 1.058 GB, free: 139.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.7423, allocations: 0.913 MB / 1.059 GB, free: 139.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.7438, allocations: 1.593 MB / 1.06 GB, free: 138.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003315/0.7471, allocations: 2.73 MB / 1.063 GB, free: 138 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.7472, allocations: 7.031 kB / 1.063 GB, free: 138 MB / 0.698 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005783/0.7529, allocations: 3.538 MB / 1.066 GB, free: 137 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.894e-05/0.753, allocations: 15.5 kB / 1.066 GB, free: 137 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-05/0.7531, allocations: 21.84 kB / 1.066 GB, free: 137 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002625/0.7557, allocations: 0.9041 MB / 1.067 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.7568, allocations: 349 kB / 1.068 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0152/0.772, allocations: 21.25 MB / 1.088 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.7734, allocations: 99.14 kB / 1.088 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.7735, allocations: 90.36 kB / 1.089 GB, free: 118.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002193/0.7757, allocations: 1.614 MB / 1.09 GB, free: 117.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.776, allocations: 204.2 kB / 1.09 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004054/0.78, allocations: 2.992 MB / 1.093 GB, free: 116.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.934e-06/0.7801, allocations: 15.69 kB / 1.093 GB, free: 116.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.7801, allocations: 11.84 kB / 1.093 GB, free: 116.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.7801, allocations: 7.594 kB / 1.093 GB, free: 116.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009527/0.7896, allocations: 7.332 MB / 1.1 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.7896, allocations: 3.75 kB / 1.1 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006636/0.7903, allocations: 179.4 kB / 1.101 GB, free: 112.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00205/0.7924, allocations: 0.8198 MB / 1.101 GB, free: 111.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.327e-05/0.7925, allocations: 34.16 kB / 1.101 GB, free: 111.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01254/0.805, allocations: 20.32 MB / 1.121 GB, free: 92.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.805, allocations: 7.344 kB / 1.121 GB, free: 92.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004002/0.809, allocations: 3.029 MB / 1.124 GB, free: 90.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005965/0.8097, allocations: 458.5 kB / 1.125 GB, free: 89.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/0.8098, allocations: 27.98 kB / 1.125 GB, free: 89.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006722/0.8105, allocations: 71.92 kB / 1.125 GB, free: 89.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002578/0.8108, allocations: 120.9 kB / 1.125 GB, free: 89.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.468e-05/0.8109, allocations: 36 kB / 1.125 GB, free: 89.42 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000956/0.8118, allocations: 0.9795 MB / 1.126 GB, free: 88.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8118, allocations: 0 / 1.126 GB, free: 88.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002339/0.8142, allocations: 0.7891 MB / 1.127 GB, free: 87.62 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00379/0.818, allocations: 3.62 MB / 1.13 GB, free: 83.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004211/0.8222, allocations: 4.03 MB / 1.134 GB, free: 79.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.8222, allocations: 0 / 1.134 GB, free: 79.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002592/0.8248, allocations: 2.75 MB / 1.137 GB, free: 76.81 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003231/0.828, allocations: 0.6655 MB / 1.137 GB, free: 76.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02865/0.8567, allocations: 25.72 MB / 1.163 GB, free: 48.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002311/0.859, allocations: 3.115 MB / 1.166 GB, free: 45.58 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001149/0.8602, allocations: 457.9 kB / 1.166 GB, free: 45.13 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/0.8614, allocations: 1.534 MB / 1.168 GB, free: 43.6 MB / 0.698 GB Notification: Performance of SimCode: time 7.31e-07/0.8614, allocations: 0 / 1.168 GB, free: 43.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8192/1.681, allocations: 58.2 MB / 1.224 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/1.681, allocations: 264.7 kB / 1.225 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.096/4.777, allocations: 0 / 1.225 GB, free: 1.699 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)