Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.001043/0.001043, allocations: 108 kB / 15.61 MB, free: 152 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.001109/0.001109, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002081/0.002081, allocations: 270.6 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9381/0.9381, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 110.7 kB / 0.5954 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1306, allocations: 86.97 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01457/0.1452, allocations: 14.03 MB / 0.694 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01256/0.1577, allocations: 9.39 MB / 0.7032 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009801/0.1587, allocations: 55.62 kB / 0.7032 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004008/0.1628, allocations: 1.671 MB / 0.7048 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003394/0.1662, allocations: 1.543 MB / 0.7064 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.1678, allocations: 0.7675 MB / 0.7071 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002621/0.1705, allocations: 2.516 MB / 0.7096 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.1721, allocations: 1.407 MB / 0.7109 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/0.1735, allocations: 1.039 MB / 0.712 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/0.175, allocations: 1.144 MB / 0.7131 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003273/0.1754, allocations: 168 kB / 0.7132 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.1768, allocations: 0.7799 MB / 0.714 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005923/0.1774, allocations: 0.6193 MB / 0.7146 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001089/0.1785, allocations: 0.9406 MB / 0.7155 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002643/0.1811, allocations: 2.737 MB / 0.7182 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1811, allocations: 0 / 0.7182 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1811, allocations: 0 / 0.7182 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.385e-05/0.1812, allocations: 0 / 0.7182 GB, free: 9.645 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004122/0.1853, allocations: 2.139 MB / 0.7203 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1854, allocations: 15.97 kB / 0.7203 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002587/0.1856, allocations: 194.4 kB / 0.7205 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01157/0.1972, allocations: 2.085 MB / 0.7225 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00239/0.1996, allocations: 1.197 MB / 0.7237 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.375e-05/0.1997, allocations: 90.73 kB / 0.7238 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003483/0.2001, allocations: 123.8 kB / 0.7239 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005761/0.2059, allocations: 2.687 MB / 0.7265 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.225e-05/0.2059, allocations: 3.984 kB / 0.7265 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/0.2061, allocations: 55.98 kB / 0.7266 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006462/0.2068, allocations: 178.1 kB / 0.7267 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007538/0.2143, allocations: 2.803 MB / 0.7295 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01341/0.2277, allocations: 10.51 MB / 0.7397 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006723/0.2345, allocations: 2.529 MB / 0.7422 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003064/0.2375, allocations: 1.282 MB / 0.7435 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.797e-05/0.2376, allocations: 16.94 kB / 0.7435 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.2376, allocations: 47.56 kB / 0.7435 GB, free: 14.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 2.675e-06/0.2377, allocations: 0 / 0.7435 GB, free: 14.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=131): time 0.04615/0.2838, allocations: 13.35 MB / 0.7566 GB, free: 1.195 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.2839, allocations: 64.72 kB / 0.7566 GB, free: 1.121 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.2853, allocations: 1.129 MB / 0.7577 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.2854, allocations: 49.7 kB / 0.7578 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004817/0.2859, allocations: 0.7116 MB / 0.7585 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000401/0.2863, allocations: 449.4 kB / 0.7589 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005247/0.2869, allocations: 263.4 kB / 0.7591 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.287, allocations: 361.9 kB / 0.7595 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003359/0.2904, allocations: 1.339 MB / 0.7608 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003441/0.2938, allocations: 1.604 MB / 0.7624 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006727/0.3006, allocations: 2.987 MB / 0.7653 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.3006, allocations: 4 kB / 0.7653 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01126/0.3119, allocations: 4.447 MB / 0.7696 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.3119, allocations: 11.98 kB / 0.7696 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.3119, allocations: 8 kB / 0.7696 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005202/0.3171, allocations: 1.439 MB / 0.771 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.3192, allocations: 431.2 kB / 0.7715 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2658/0.585, allocations: 26.7 MB / 0.7975 GB, free: 69.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/0.5875, allocations: 303.7 kB / 0.7978 GB, free: 69.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.5876, allocations: 63.59 kB / 0.7979 GB, free: 69.8 MB / 0.5606 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006853/0.5883, allocations: 440.6 kB / 0.7983 GB, free: 69.53 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.5886, allocations: 166.6 kB / 0.7985 GB, free: 69.53 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/0.5997, allocations: 4.454 MB / 0.8028 GB, free: 68.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.5997, allocations: 12.56 kB / 0.8028 GB, free: 68.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/0.5997, allocations: 13.67 kB / 0.8028 GB, free: 68.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.5997, allocations: 8.25 kB / 0.8028 GB, free: 68.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/0.6128, allocations: 6.768 MB / 0.8095 GB, free: 65.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.6128, allocations: 2.969 kB / 0.8095 GB, free: 65.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/0.6146, allocations: 380.7 kB / 0.8098 GB, free: 65.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004512/0.6192, allocations: 1.316 MB / 0.8111 GB, free: 65.19 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.6193, allocations: 44.83 kB / 0.8111 GB, free: 65.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01888/0.6382, allocations: 25.5 MB / 0.836 GB, free: 42.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.6382, allocations: 10.67 kB / 0.8361 GB, free: 42.35 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009716/0.6479, allocations: 4.197 MB / 0.8402 GB, free: 39.92 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007741/0.6487, allocations: 456.9 kB / 0.8406 GB, free: 39.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002439/0.649, allocations: 27.89 kB / 0.8406 GB, free: 39.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/0.651, allocations: 308.7 kB / 0.8409 GB, free: 39.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003716/0.6513, allocations: 127.9 kB / 0.841 GB, free: 39.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.6514, allocations: 51.47 kB / 0.8411 GB, free: 39.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007645/0.6522, allocations: 0.7555 MB / 0.8418 GB, free: 38.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6522, allocations: 0 / 0.8418 GB, free: 38.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001724/0.6539, allocations: 0.5658 MB / 0.8424 GB, free: 38.84 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009399/0.6634, allocations: 4.798 MB / 0.8471 GB, free: 35.85 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009899/0.6733, allocations: 5.518 MB / 0.8524 GB, free: 30.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6733, allocations: 0 / 0.8524 GB, free: 30.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005675/0.679, allocations: 3.482 MB / 0.8558 GB, free: 26.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/0.6812, allocations: 0.561 MB / 0.8564 GB, free: 26.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0336/0.7148, allocations: 20.32 MB / 0.8762 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007333/0.7155, allocations: 1.484 MB / 0.8777 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001554/0.7171, allocations: 426.9 kB / 0.8781 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006771/0.7178, allocations: 0.6281 MB / 0.8787 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/0.7178, allocations: 0 / 0.8787 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/0.8183, allocations: 51.31 MB / 0.9288 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.793/10.61, allocations: 8.047 kB / 0.9288 GB, free: 15.94 MB / 0.6231 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)