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.001352/0.001352, 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.001353/0.001353, allocations: 195.3 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.431/1.431, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002561/0.002561, allocations: 271 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.116/1.116, allocations: 178.5 MB / 0.5073 GB, free: 4.605 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002841/0.002841, allocations: 101.5 kB / 0.6066 GB, free: 24.78 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1618, allocations: 89.14 MB / 0.6936 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01811/0.18, allocations: 14.04 MB / 0.7073 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01484/0.1948, allocations: 9.397 MB / 0.7165 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.1962, allocations: 63.62 kB / 0.7165 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00435/0.2006, allocations: 1.661 MB / 0.7182 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004037/0.2046, allocations: 1.557 MB / 0.7197 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.2064, allocations: 0.7514 MB / 0.7204 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003099/0.2095, allocations: 2.52 MB / 0.7229 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001906/0.2115, allocations: 1.403 MB / 0.7243 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.2129, allocations: 1.047 MB / 0.7253 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.2144, allocations: 1.133 MB / 0.7264 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002558/0.2146, allocations: 168 kB / 0.7265 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.2161, allocations: 0.7993 MB / 0.7273 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006257/0.2168, allocations: 0.6115 MB / 0.7279 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.2178, allocations: 0.9523 MB / 0.7289 GB, free: 16 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003004/0.2208, allocations: 2.73 MB / 0.7315 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2208, allocations: 0 / 0.7315 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2208, allocations: 0 / 0.7315 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.376e-05/0.2208, allocations: 0 / 0.7315 GB, free: 13.28 MB / 0.5294 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.003951/0.2248, allocations: 2.135 MB / 0.7336 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.2248, allocations: 12.02 kB / 0.7336 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002556/0.2251, allocations: 198.3 kB / 0.7338 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/0.2373, allocations: 2.077 MB / 0.7358 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002826/0.2402, allocations: 1.201 MB / 0.737 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.5e-05/0.2403, allocations: 90.73 kB / 0.7371 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002903/0.2406, allocations: 123.9 kB / 0.7372 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006449/0.247, allocations: 2.674 MB / 0.7398 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.969e-05/0.2471, allocations: 7.938 kB / 0.7398 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/0.2473, allocations: 59.98 kB / 0.7399 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006961/0.248, allocations: 182.1 kB / 0.7401 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008255/0.2562, allocations: 2.795 MB / 0.7428 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01582/0.2721, allocations: 10.52 MB / 0.7531 GB, free: 6.344 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00751/0.2796, allocations: 2.536 MB / 0.7555 GB, free: 3.742 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003431/0.2831, allocations: 1.285 MB / 0.7568 GB, free: 2.453 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.015e-05/0.2831, allocations: 9 kB / 0.7568 GB, free: 2.445 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.2832, allocations: 43.56 kB / 0.7568 GB, free: 2.395 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 3.086e-06/0.2832, allocations: 0 / 0.7568 GB, free: 2.395 MB / 0.545 GB Notification: Performance of matching and sorting (n=131): time 0.324/0.6072, allocations: 13.35 MB / 0.7699 GB, free: 63.13 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.6072, allocations: 66.06 kB / 0.7699 GB, free: 63.06 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.6087, allocations: 1.117 MB / 0.771 GB, free: 62.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.6088, allocations: 48.48 kB / 0.7711 GB, free: 62.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000434/0.6093, allocations: 0.7168 MB / 0.7718 GB, free: 62.01 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003671/0.6097, allocations: 450 kB / 0.7722 GB, free: 61.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004881/0.6101, allocations: 257.2 kB / 0.7724 GB, free: 61.56 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.785e-05/0.6102, allocations: 360.8 kB / 0.7728 GB, free: 61.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003283/0.6135, allocations: 1.341 MB / 0.7741 GB, free: 60.85 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003377/0.6169, allocations: 1.599 MB / 0.7757 GB, free: 60.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006698/0.6236, allocations: 2.996 MB / 0.7786 GB, free: 58.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.6237, allocations: 2.312 kB / 0.7786 GB, free: 58.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01117/0.6348, allocations: 4.441 MB / 0.7829 GB, free: 57.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.6349, allocations: 7.812 kB / 0.7829 GB, free: 57.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.6349, allocations: 10.98 kB / 0.7829 GB, free: 57.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005061/0.64, allocations: 1.438 MB / 0.7844 GB, free: 56.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002115/0.6421, allocations: 433.4 kB / 0.7848 GB, free: 56.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0215/0.6636, allocations: 26.71 MB / 0.8108 GB, free: 32.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002584/0.6662, allocations: 302.5 kB / 0.8111 GB, free: 32.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.6664, allocations: 62.58 kB / 0.8112 GB, free: 32.26 MB / 0.545 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.0007465/0.6671, allocations: 439.1 kB / 0.8116 GB, free: 31.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/0.6674, allocations: 159.2 kB / 0.8118 GB, free: 31.87 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/0.6777, allocations: 4.457 MB / 0.8161 GB, free: 29.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.6778, allocations: 15.91 kB / 0.8161 GB, free: 29.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.326e-05/0.6778, allocations: 15.75 kB / 0.8161 GB, free: 29.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.6778, allocations: 7.969 kB / 0.8162 GB, free: 29.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01298/0.6908, allocations: 6.763 MB / 0.8228 GB, free: 24.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.6908, allocations: 4 kB / 0.8228 GB, free: 24.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/0.6925, allocations: 383.6 kB / 0.8231 GB, free: 23.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004002/0.6965, allocations: 1.314 MB / 0.8244 GB, free: 22.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.6966, allocations: 39.97 kB / 0.8245 GB, free: 22.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01985/0.7165, allocations: 25.5 MB / 0.8494 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7165, allocations: 3.938 kB / 0.8494 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/0.7279, allocations: 4.204 MB / 0.8535 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/0.7289, allocations: 451.6 kB / 0.8539 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002542/0.7292, allocations: 27.98 kB / 0.8539 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002068/0.7313, allocations: 303.5 kB / 0.8542 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004279/0.7317, allocations: 128.7 kB / 0.8543 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.7318, allocations: 51.97 kB / 0.8544 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001084/0.7329, allocations: 0.7487 MB / 0.8551 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7329, allocations: 0 / 0.8551 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001965/0.7349, allocations: 0.576 MB / 0.8557 GB, free: 4.672 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.0115/0.7464, allocations: 4.796 MB / 0.8604 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01237/0.7588, allocations: 5.519 MB / 0.8658 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.7588, allocations: 0 / 0.8658 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007294/0.7661, allocations: 3.485 MB / 0.8692 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/0.7687, allocations: 0.5701 MB / 0.8697 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04378/0.8125, allocations: 20.34 MB / 0.8896 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/0.8138, allocations: 1.477 MB / 0.891 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001774/0.8156, allocations: 421.5 kB / 0.8914 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000924/0.8165, allocations: 0.6398 MB / 0.892 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.8166, allocations: 0 / 0.892 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1655/0.9821, allocations: 51.31 MB / 0.9421 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.71, allocations: 2.812 kB / 0.9422 GB, free: 11.77 MB / 0.6544 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)