Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.005294/0.005295, allocations: 101.2 kB / 15.73 MB, free: 6.062 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.001339/0.001339, allocations: 189.5 kB / 16.67 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00248/0.00248, allocations: 289 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.988/0.988, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002737/0.002738, allocations: 103.8 kB / 0.681 GB, free: 7.434 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4175, allocations: 86.97 MB / 0.7659 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02462/0.4422, allocations: 20.23 MB / 0.7857 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01128/0.4535, allocations: 6.449 MB / 0.792 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/0.4552, allocations: 83.62 kB / 0.7921 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005903/0.4611, allocations: 2.241 MB / 0.7942 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003602/0.4647, allocations: 1.185 MB / 0.7954 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00349/0.4682, allocations: 1.281 MB / 0.7967 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006176/0.4744, allocations: 4.858 MB / 0.8014 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007317/0.4818, allocations: 5.579 MB / 0.8068 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003274/0.4851, allocations: 2.099 MB / 0.8089 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00352/0.4886, allocations: 2.333 MB / 0.8112 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007458/0.4894, allocations: 432 kB / 0.8116 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002099/0.4915, allocations: 0.9987 MB / 0.8126 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001821/0.4933, allocations: 1.657 MB / 0.8142 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002472/0.4958, allocations: 1.914 MB / 0.816 GB, free: 308 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00724/0.5031, allocations: 6.543 MB / 0.8224 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.5031, allocations: 4 kB / 0.8224 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5031, allocations: 4 kB / 0.8224 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001427/0.5032, allocations: 0 / 0.8224 GB, free: 9.734 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007889/0.5111, allocations: 3.533 MB / 0.8259 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.5112, allocations: 8.031 kB / 0.8259 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006931/0.5119, allocations: 458.5 kB / 0.8263 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003496/0.5154, allocations: 0.6661 MB / 0.827 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003575/0.519, allocations: 2.05 MB / 0.829 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.5192, allocations: 222.3 kB / 0.8292 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004774/0.5197, allocations: 296.1 kB / 0.8295 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008274/0.528, allocations: 4.886 MB / 0.8343 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.207e-05/0.5281, allocations: 19.83 kB / 0.8343 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003092/0.5284, allocations: 120 kB / 0.8344 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004333/0.5288, allocations: 233.7 kB / 0.8346 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006369/0.5352, allocations: 3.754 MB / 0.8383 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02357/0.5588, allocations: 21.45 MB / 0.8592 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.5607, allocations: 1.299 MB / 0.8605 GB, free: 424 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.5624, allocations: 1.053 MB / 0.8615 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.185e-05/0.5624, allocations: 12.94 kB / 0.8615 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.5625, allocations: 51.56 kB / 0.8616 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=107): time 2.896e-06/0.5625, allocations: 0 / 0.8616 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of matching and sorting (n=138): time 0.02496/0.5875, allocations: 8.688 MB / 0.8701 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.5876, allocations: 72.72 kB / 0.8701 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.5891, allocations: 1.123 MB / 0.8712 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001391/0.5893, allocations: 57.7 kB / 0.8713 GB, free: 5.273 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.5903, allocations: 1.335 MB / 0.8726 GB, free: 3.926 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004815/0.5908, allocations: 0.4957 MB / 0.8731 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005026/0.5913, allocations: 295.4 kB / 0.8734 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5914, allocations: 309.1 kB / 0.8737 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.5928, allocations: 0.9096 MB / 0.8745 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/0.5946, allocations: 1.33 MB / 0.8758 GB, free: 424 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003333/0.5979, allocations: 2.426 MB / 0.8782 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.598, allocations: 4 kB / 0.8782 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006443/0.6044, allocations: 3.48 MB / 0.8816 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.6045, allocations: 12 kB / 0.8816 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.6045, allocations: 12 kB / 0.8816 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00335/0.6079, allocations: 1.172 MB / 0.8828 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.6089, allocations: 255.6 kB / 0.883 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/0.6282, allocations: 13.87 MB / 0.8966 GB, free: 10.58 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.6296, allocations: 87.97 kB / 0.8966 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/0.6298, allocations: 64 kB / 0.8967 GB, free: 10.43 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001924/0.6318, allocations: 1.116 MB / 0.8978 GB, free: 9.309 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003936/0.6322, allocations: 170.9 kB / 0.898 GB, free: 9.141 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006334/0.6385, allocations: 3.169 MB / 0.9011 GB, free: 5.953 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.6385, allocations: 16 kB / 0.9011 GB, free: 5.938 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-05/0.6386, allocations: 19.92 kB / 0.9011 GB, free: 5.918 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.6386, allocations: 3.984 kB / 0.9011 GB, free: 5.914 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/0.65, allocations: 6.241 MB / 0.9072 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.65, allocations: 7.938 kB / 0.9072 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006225/0.6507, allocations: 148.1 kB / 0.9073 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003128/0.6538, allocations: 1.078 MB / 0.9084 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/0.654, allocations: 28 kB / 0.9084 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0189/0.6729, allocations: 13.55 MB / 0.9216 GB, free: 320 kB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/0.6729, allocations: 4 kB / 0.9217 GB, free: 316 kB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0059/0.6788, allocations: 3.163 MB / 0.9247 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008809/0.6797, allocations: 435.9 kB / 0.9252 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003206/0.6801, allocations: 28 kB / 0.9252 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009086/0.681, allocations: 83.89 kB / 0.9253 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000352/0.6814, allocations: 121.1 kB / 0.9254 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.6815, allocations: 48 kB / 0.9254 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001159/0.6826, allocations: 0.7593 MB / 0.9262 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6827, allocations: 0 / 0.9262 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002072/0.6847, allocations: 0.6602 MB / 0.9268 GB, free: 10.91 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005923/0.6907, allocations: 3.748 MB / 0.9305 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005371/0.6961, allocations: 3.157 MB / 0.9336 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.6961, allocations: 4 kB / 0.9336 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003259/0.6993, allocations: 1.951 MB / 0.9355 GB, free: 1.875 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/0.7017, allocations: 0.4962 MB / 0.9359 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03242/0.7341, allocations: 19.2 MB / 0.9547 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002925/0.7371, allocations: 2.344 MB / 0.957 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001134/0.7382, allocations: 346.1 kB / 0.9573 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/0.7395, allocations: 1.011 MB / 0.9583 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.7396, allocations: 0 / 0.9583 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4201/1.16, allocations: 52.32 MB / 1.009 GB, free: 161.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.74, allocations: 8.562 kB / 1.009 GB, free: 161.1 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_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_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)