Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004932/0.004932, allocations: 98.45 kB / 15.73 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 195.9 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00235/0.00235, allocations: 293.2 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9318/0.9318, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 103.8 kB / 0.681 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4109, allocations: 86.97 MB / 0.7659 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008067/0.419, allocations: 6.151 MB / 0.7719 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005027/0.4241, allocations: 3.172 MB / 0.775 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006026/0.4247, allocations: 31.81 kB / 0.775 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00252/0.4273, allocations: 0.9287 MB / 0.7759 GB, free: 9.555 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.4287, allocations: 497.5 kB / 0.7764 GB, free: 9.066 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.4301, allocations: 0.491 MB / 0.7769 GB, free: 8.574 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001613/0.4317, allocations: 1.104 MB / 0.778 GB, free: 7.465 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.4329, allocations: 0.6349 MB / 0.7786 GB, free: 6.828 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.4339, allocations: 454.3 kB / 0.779 GB, free: 6.383 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009665/0.4349, allocations: 470.2 kB / 0.7795 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00022/0.4351, allocations: 56 kB / 0.7795 GB, free: 5.867 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.4364, allocations: 487 kB / 0.78 GB, free: 5.391 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005088/0.4369, allocations: 287.2 kB / 0.7803 GB, free: 5.109 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008242/0.4378, allocations: 409.9 kB / 0.7807 GB, free: 4.707 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.4396, allocations: 1.176 MB / 0.7818 GB, free: 3.527 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4396, allocations: 0 / 0.7818 GB, free: 3.527 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4396, allocations: 0 / 0.7818 GB, free: 3.527 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.272e-05/0.4397, allocations: 0 / 0.7818 GB, free: 3.527 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002193/0.4419, allocations: 1.067 MB / 0.7829 GB, free: 2.406 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4419, allocations: 8.031 kB / 0.7829 GB, free: 2.398 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001852/0.4421, allocations: 114.7 kB / 0.783 GB, free: 2.277 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.4438, allocations: 219.7 kB / 0.7832 GB, free: 2.062 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.4449, allocations: 0.5999 MB / 0.7838 GB, free: 1.426 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.511e-05/0.4449, allocations: 45.67 kB / 0.7838 GB, free: 1.383 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.4451, allocations: 68.28 kB / 0.7839 GB, free: 1.316 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.4468, allocations: 1.03 MB / 0.7849 GB, free: 184 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.659e-05/0.4468, allocations: 15.92 kB / 0.7849 GB, free: 168 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.307e-05/0.4469, allocations: 27.98 kB / 0.7849 GB, free: 140 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.447, allocations: 73.27 kB / 0.785 GB, free: 68 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.4483, allocations: 0.6879 MB / 0.7857 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005331/0.4537, allocations: 5.729 MB / 0.7913 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008517/0.4545, allocations: 0.5904 MB / 0.7918 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007625/0.4553, allocations: 432.5 kB / 0.7922 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.4554, allocations: 8 kB / 0.7923 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.4554, allocations: 38.56 kB / 0.7923 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 2.275e-06/0.4554, allocations: 0 / 0.7923 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.004255/0.4597, allocations: 2.019 MB / 0.7943 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.4597, allocations: 59.34 kB / 0.7943 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005295/0.4603, allocations: 458.8 kB / 0.7948 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.4603, allocations: 37.7 kB / 0.7948 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000275/0.4606, allocations: 387 kB / 0.7952 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.4607, allocations: 153.8 kB / 0.7953 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.4609, allocations: 114.2 kB / 0.7954 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4611, allocations: 358.8 kB / 0.7958 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/0.4615, allocations: 245.1 kB / 0.796 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005086/0.462, allocations: 461 kB / 0.7964 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009336/0.4629, allocations: 0.7409 MB / 0.7972 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.4629, allocations: 4 kB / 0.7972 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001823/0.4648, allocations: 1.047 MB / 0.7982 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.4648, allocations: 8 kB / 0.7982 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.4648, allocations: 11.94 kB / 0.7982 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.4658, allocations: 319.2 kB / 0.7985 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.4661, allocations: 95.83 kB / 0.7986 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00754/0.4737, allocations: 7.467 MB / 0.8059 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/0.4742, allocations: 32.02 kB / 0.8059 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.465e-05/0.4743, allocations: 24 kB / 0.8059 GB, free: 9.188 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004117/0.4747, allocations: 246.4 kB / 0.8062 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.4749, allocations: 63.22 kB / 0.8062 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.4765, allocations: 0.8965 MB / 0.8071 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.4766, allocations: 4 kB / 0.8071 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.4766, allocations: 4 kB / 0.8071 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4766, allocations: 3.984 kB / 0.8071 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/0.4793, allocations: 1.693 MB / 0.8088 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.4793, allocations: 4 kB / 0.8088 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.4795, allocations: 39.91 kB / 0.8088 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008958/0.4804, allocations: 311.4 kB / 0.8091 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.4805, allocations: 8 kB / 0.8091 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006827/0.4873, allocations: 7.454 MB / 0.8164 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.4873, allocations: 7.938 kB / 0.8164 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.489, allocations: 0.9956 MB / 0.8174 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/0.4892, allocations: 172.3 kB / 0.8176 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.809e-05/0.4893, allocations: 8 kB / 0.8176 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.4896, allocations: 39.84 kB / 0.8176 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.4897, allocations: 35.89 kB / 0.8176 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.4898, allocations: 15.98 kB / 0.8176 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003481/0.4901, allocations: 310.9 kB / 0.8179 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4901, allocations: 0 / 0.8179 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008325/0.491, allocations: 192 kB / 0.8181 GB, free: 11.95 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001898/0.4929, allocations: 1.548 MB / 0.8196 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001874/0.4948, allocations: 1.184 MB / 0.8208 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4948, allocations: 0 / 0.8208 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.496, allocations: 0.8617 MB / 0.8216 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.497, allocations: 213.1 kB / 0.8218 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00806/0.5051, allocations: 5.873 MB / 0.8276 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006125/0.5057, allocations: 0.9921 MB / 0.8285 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002938/0.5061, allocations: 101.2 kB / 0.8286 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.5063, allocations: 227.4 kB / 0.8289 GB, free: 472 kB / 0.5919 GB Notification: Performance of SimCode: time 1.052e-06/0.5063, allocations: 0 / 0.8289 GB, free: 472 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04461/0.551, allocations: 15.41 MB / 0.8439 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.924/10.47, allocations: 19.75 kB / 0.8439 GB, free: 1.355 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)