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.001481/0.001481, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.3/1.3, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001889/0.001889, allocations: 282.2 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8668/0.8668, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 96.66 kB / 0.5954 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1278, allocations: 86.98 MB / 0.6803 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007263/0.1351, allocations: 6.124 MB / 0.6863 GB, free: 10.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004504/0.1396, allocations: 3.182 MB / 0.6894 GB, free: 7.227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000435/0.14, allocations: 27.81 kB / 0.6894 GB, free: 7.199 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002179/0.1422, allocations: 0.9337 MB / 0.6903 GB, free: 6.262 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.1433, allocations: 469.5 kB / 0.6908 GB, free: 5.801 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.1443, allocations: 0.5014 MB / 0.6913 GB, free: 5.301 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.1455, allocations: 1.092 MB / 0.6923 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008388/0.1463, allocations: 0.6388 MB / 0.693 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005632/0.1469, allocations: 434.4 kB / 0.6934 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000595/0.1475, allocations: 482.1 kB / 0.6938 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.1476, allocations: 60 kB / 0.6939 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007674/0.1484, allocations: 490.9 kB / 0.6944 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002606/0.1487, allocations: 283.3 kB / 0.6946 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004347/0.1491, allocations: 405.9 kB / 0.695 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.1504, allocations: 1.164 MB / 0.6961 GB, free: 292 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1504, allocations: 0 / 0.6961 GB, free: 292 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1504, allocations: 0 / 0.6961 GB, free: 292 kB / 494.1 MB Notification: Performance of Transformations before backend: time 2.334e-05/0.1504, allocations: 0 / 0.6961 GB, free: 292 kB / 494.1 MB 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.001593/0.152, allocations: 1.067 MB / 0.6972 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.152, allocations: 8.031 kB / 0.6972 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.1522, allocations: 118.6 kB / 0.6973 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.1536, allocations: 219.7 kB / 0.6975 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007064/0.1543, allocations: 0.5414 MB / 0.698 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.1544, allocations: 49.67 kB / 0.6981 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.084e-05/0.1545, allocations: 64.36 kB / 0.6982 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.1557, allocations: 1.034 MB / 0.6992 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.1557, allocations: 11.84 kB / 0.6992 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-05/0.1558, allocations: 27.98 kB / 0.6992 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.001e-05/0.1559, allocations: 73.27 kB / 0.6993 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009072/0.1568, allocations: 0.6918 MB / 0.7 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004221/0.161, allocations: 5.745 MB / 0.7056 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007295/0.1618, allocations: 0.597 MB / 0.7061 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007313/0.1625, allocations: 416.6 kB / 0.7065 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.1625, allocations: 11.92 kB / 0.7066 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.1626, allocations: 38.56 kB / 0.7066 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.603e-06/0.1626, allocations: 3.938 kB / 0.7066 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.003909/0.1665, allocations: 2.054 MB / 0.7086 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.1665, allocations: 55.41 kB / 0.7087 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004074/0.1669, allocations: 466.8 kB / 0.7091 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.167, allocations: 37.64 kB / 0.7091 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.1672, allocations: 387 kB / 0.7095 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.561e-05/0.1673, allocations: 149.9 kB / 0.7096 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.1674, allocations: 110.2 kB / 0.7098 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1676, allocations: 366.8 kB / 0.7101 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.1679, allocations: 245.2 kB / 0.7103 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/0.1683, allocations: 461 kB / 0.7108 GB, free: 384 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008097/0.1691, allocations: 0.7595 MB / 0.7115 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1691, allocations: 0 / 0.7115 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001658/0.1708, allocations: 1.058 MB / 0.7125 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1708, allocations: 10.03 kB / 0.7126 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.1708, allocations: 12.09 kB / 0.7126 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009345/0.1718, allocations: 331.1 kB / 0.7129 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.1721, allocations: 99.83 kB / 0.713 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006393/0.1785, allocations: 7.524 MB / 0.7203 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/0.1788, allocations: 36.02 kB / 0.7204 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.1789, allocations: 24 kB / 0.7204 GB, free: 5.844 MB / 0.5137 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.0002684/0.1791, allocations: 247.5 kB / 0.7206 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.365e-05/0.1792, allocations: 59.34 kB / 0.7207 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.1807, allocations: 0.9198 MB / 0.7216 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1808, allocations: 4 kB / 0.7216 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1808, allocations: 4 kB / 0.7216 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.1808, allocations: 3.984 kB / 0.7216 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.1832, allocations: 1.72 MB / 0.7233 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.1832, allocations: 7.984 kB / 0.7233 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.1833, allocations: 43.91 kB / 0.7233 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000855/0.1842, allocations: 323.3 kB / 0.7236 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.1842, allocations: 8 kB / 0.7236 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006257/0.1905, allocations: 7.517 MB / 0.731 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1905, allocations: 4 kB / 0.731 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.192, allocations: 1.011 MB / 0.732 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.1922, allocations: 180.3 kB / 0.7321 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.508e-05/0.1923, allocations: 8 kB / 0.7321 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.1926, allocations: 15.98 kB / 0.7322 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.822e-05/0.1926, allocations: 47.88 kB / 0.7322 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.1927, allocations: 16 kB / 0.7322 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002841/0.193, allocations: 314.8 kB / 0.7325 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.193, allocations: 0 / 0.7325 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006295/0.1936, allocations: 196 kB / 0.7327 GB, free: 8.473 MB / 0.5294 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.00174/0.1954, allocations: 1.548 MB / 0.7342 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001686/0.1971, allocations: 1.262 MB / 0.7355 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1971, allocations: 0 / 0.7355 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.1981, allocations: 0.8582 MB / 0.7363 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008988/0.199, allocations: 213.2 kB / 0.7365 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007109/0.2062, allocations: 5.996 MB / 0.7423 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.2067, allocations: 0.9921 MB / 0.7433 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002872/0.207, allocations: 105.2 kB / 0.7434 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.2072, allocations: 227.4 kB / 0.7436 GB, free: 12.77 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.2072, allocations: 0 / 0.7436 GB, free: 12.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.921/1.128, allocations: 15.3 MB / 0.7586 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/12.16, allocations: 25.95 kB / 0.7586 GB, free: 13.73 MB / 0.5606 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)