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.0009919/0.0009918, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.00768/0.007681, allocations: 172.2 kB / 16.26 MB, free: 6.676 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: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001704/0.001704, allocations: 267.3 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9378/0.9378, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.0004149, allocations: 14 kB / 0.5988 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1486, allocations: 88.55 MB / 0.6852 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006447/0.1551, allocations: 5.732 MB / 0.6908 GB, free: 9.172 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005076/0.1603, allocations: 3.144 MB / 0.6939 GB, free: 6.027 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004493/0.1607, allocations: 28.88 kB / 0.6939 GB, free: 6 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.1611, allocations: 115 kB / 0.694 GB, free: 5.887 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.1621, allocations: 441.5 kB / 0.6945 GB, free: 5.457 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.1633, allocations: 467.6 kB / 0.6949 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001513/0.1649, allocations: 1.463 MB / 0.6963 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.1666, allocations: 0.9844 MB / 0.6973 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005775/0.1672, allocations: 362.3 kB / 0.6976 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005523/0.1678, allocations: 458.1 kB / 0.6981 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.854e-05/0.1678, allocations: 35.94 kB / 0.6981 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009856/0.1688, allocations: 0.5692 MB / 0.6987 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.1691, allocations: 247.3 kB / 0.6989 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003632/0.1694, allocations: 391.6 kB / 0.6993 GB, free: 500 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.1707, allocations: 1.16 MB / 0.7004 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1707, allocations: 4 kB / 0.7004 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.973e-06/0.1707, allocations: 0 / 0.7004 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.1707, allocations: 0 / 0.7004 GB, free: 15.32 MB / 0.4981 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.001396/0.1721, allocations: 0.9154 MB / 0.7013 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1722, allocations: 11.97 kB / 0.7013 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001352/0.1723, allocations: 118.7 kB / 0.7014 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.1738, allocations: 215.7 kB / 0.7016 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007643/0.1746, allocations: 0.5492 MB / 0.7022 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.946e-05/0.1747, allocations: 49.67 kB / 0.7022 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.857e-05/0.1748, allocations: 60.38 kB / 0.7023 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.1761, allocations: 1.03 MB / 0.7033 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.1762, allocations: 15.84 kB / 0.7033 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.316e-05/0.1763, allocations: 24 kB / 0.7033 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-05/0.1763, allocations: 73.27 kB / 0.7034 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.1774, allocations: 0.6918 MB / 0.7041 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004815/0.1822, allocations: 5.76 MB / 0.7097 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008112/0.183, allocations: 0.6008 MB / 0.7103 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007571/0.1838, allocations: 416.6 kB / 0.7107 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.1838, allocations: 7.938 kB / 0.7107 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.1839, allocations: 42.56 kB / 0.7107 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 2.204e-06/0.1839, allocations: 0 / 0.7107 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.004347/0.1882, allocations: 2.069 MB / 0.7128 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.1883, allocations: 55.41 kB / 0.7128 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004724/0.1888, allocations: 474.7 kB / 0.7133 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.1888, allocations: 29.7 kB / 0.7133 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.189, allocations: 387 kB / 0.7137 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.1892, allocations: 149.9 kB / 0.7138 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.789e-05/0.1892, allocations: 53.69 kB / 0.7139 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1894, allocations: 358.8 kB / 0.7142 GB, free: 392 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.1897, allocations: 249.2 kB / 0.7144 GB, free: 144 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004922/0.1902, allocations: 465 kB / 0.7149 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009172/0.1912, allocations: 0.7556 MB / 0.7156 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1912, allocations: 4 kB / 0.7156 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001844/0.193, allocations: 1.062 MB / 0.7167 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.1931, allocations: 9.719 kB / 0.7167 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.1931, allocations: 15.97 kB / 0.7167 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.1941, allocations: 327.1 kB / 0.717 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.1944, allocations: 99.81 kB / 0.7171 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006561/0.201, allocations: 6.95 MB / 0.7239 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004434/0.2015, allocations: 28.02 kB / 0.7239 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.2015, allocations: 28 kB / 0.7239 GB, free: 5.656 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.0003379/0.2019, allocations: 243.5 kB / 0.7242 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/0.202, allocations: 63.25 kB / 0.7242 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.2037, allocations: 0.9198 MB / 0.7251 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.2037, allocations: 4 kB / 0.7251 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2037, allocations: 4 kB / 0.7251 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2038, allocations: 0 / 0.7251 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002633/0.2064, allocations: 1.713 MB / 0.7268 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.2064, allocations: 4 kB / 0.7268 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.2066, allocations: 39.91 kB / 0.7268 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009441/0.2075, allocations: 327.2 kB / 0.7272 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/0.2076, allocations: 12 kB / 0.7272 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006675/0.2143, allocations: 6.939 MB / 0.7339 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.2143, allocations: 4 kB / 0.7339 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.2161, allocations: 1.015 MB / 0.7349 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/0.2164, allocations: 176.3 kB / 0.7351 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.004e-05/0.2165, allocations: 15.94 kB / 0.7351 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.2168, allocations: 19.98 kB / 0.7351 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.2169, allocations: 43.88 kB / 0.7352 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.2169, allocations: 8 kB / 0.7352 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003563/0.2173, allocations: 322.9 kB / 0.7355 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2173, allocations: 0 / 0.7355 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007982/0.2181, allocations: 192 kB / 0.7357 GB, free: 8.895 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.001919/0.22, allocations: 1.557 MB / 0.7372 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001933/0.222, allocations: 1.203 MB / 0.7384 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.222, allocations: 0 / 0.7384 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.2232, allocations: 0.8697 MB / 0.7392 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.2243, allocations: 192.3 kB / 0.7394 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008317/0.2326, allocations: 6.301 MB / 0.7456 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006185/0.2333, allocations: 0.9959 MB / 0.7465 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003313/0.2336, allocations: 101.2 kB / 0.7466 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.2339, allocations: 227.4 kB / 0.7468 GB, free: 12.95 MB / 0.545 GB Notification: Performance of SimCode: time 7.41e-07/0.2339, allocations: 0 / 0.7468 GB, free: 12.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.2633, allocations: 14.58 MB / 0.7611 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.2636, allocations: 253.4 kB / 0.7613 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.319/2.582, allocations: 3.5 kB / 0.7613 GB, free: 14.44 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)