Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.005272/0.005272, allocations: 100.3 kB / 15.73 MB, free: 6.02 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.001283/0.001283, allocations: 195 kB / 16.67 MB, free: 5.93 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.398/1.398, 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.002526/0.002526, allocations: 288.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9841/0.9841, allocations: 169.3 MB / 0.4983 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002683/0.002683, allocations: 107.8 kB / 0.681 GB, free: 7.477 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.388, allocations: 86.98 MB / 0.7659 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02816/0.4162, allocations: 23.41 MB / 0.7888 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01167/0.4279, allocations: 6.48 MB / 0.7951 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002011/0.43, allocations: 99.5 kB / 0.7952 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004128/0.4341, allocations: 1.491 MB / 0.7967 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004573/0.4387, allocations: 1.82 MB / 0.7984 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003694/0.4424, allocations: 1.461 MB / 0.7999 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00823/0.4506, allocations: 6.908 MB / 0.8066 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008892/0.4596, allocations: 6.933 MB / 0.8134 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004112/0.4637, allocations: 2.839 MB / 0.8162 GB, free: 228 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004956/0.4687, allocations: 3.478 MB / 0.8196 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009941/0.4697, allocations: 0.5273 MB / 0.8201 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/0.4728, allocations: 1.174 MB / 0.8212 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002906/0.4757, allocations: 2.464 MB / 0.8236 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003048/0.4787, allocations: 2.54 MB / 0.8261 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009143/0.4879, allocations: 8.536 MB / 0.8344 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4879, allocations: 4 kB / 0.8344 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4879, allocations: 0 / 0.8344 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001483/0.4881, allocations: 0 / 0.8344 GB, free: 13.45 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.008832/0.4969, allocations: 4.555 MB / 0.8389 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.497, allocations: 12.03 kB / 0.8389 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008546/0.4978, allocations: 0.5675 MB / 0.8395 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008539/0.5064, allocations: 1.707 MB / 0.8411 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005037/0.5114, allocations: 2.705 MB / 0.8438 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002338/0.5117, allocations: 279.7 kB / 0.844 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000742/0.5124, allocations: 356.3 kB / 0.8444 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01323/0.5257, allocations: 7.49 MB / 0.8517 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-05/0.5258, allocations: 15.89 kB / 0.8517 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004502/0.5263, allocations: 159.9 kB / 0.8519 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000685/0.527, allocations: 487.3 kB / 0.8523 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01169/0.5387, allocations: 5.697 MB / 0.8579 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03933/0.578, allocations: 31.55 MB / 0.8887 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00316/0.5812, allocations: 2.086 MB / 0.8907 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003228/0.5845, allocations: 2.178 MB / 0.8929 GB, free: 14.43 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001554/0.5846, allocations: 21.22 kB / 0.8929 GB, free: 14.41 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.5847, allocations: 51.81 kB / 0.8929 GB, free: 14.36 MB / 0.67 GB Notification: Performance of pre-optimization done (n=146): time 6.433e-06/0.5847, allocations: 4 kB / 0.8929 GB, free: 14.35 MB / 0.67 GB Notification: Performance of matching and sorting (n=251): time 0.3175/0.9022, allocations: 77.08 MB / 0.9682 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/0.9023, allocations: 85.28 kB / 0.9683 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.316/1.218, allocations: 1.66 MB / 0.9699 GB, free: 185.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004746/1.219, allocations: 65.55 kB / 0.97 GB, free: 185.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001067/1.22, allocations: 1.796 MB / 0.9717 GB, free: 185.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007848/1.221, allocations: 0.8972 MB / 0.9726 GB, free: 184.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00116/1.222, allocations: 484.9 kB / 0.9731 GB, free: 184.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.734e-05/1.222, allocations: 302.2 kB / 0.9734 GB, free: 184.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003719/1.226, allocations: 2.729 MB / 0.976 GB, free: 183.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003705/1.229, allocations: 3.33 MB / 0.9793 GB, free: 181.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006738/1.236, allocations: 6.4 MB / 0.9855 GB, free: 178.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/1.236, allocations: 7.781 kB / 0.9855 GB, free: 178.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02791/1.264, allocations: 14.69 MB / 0.9999 GB, free: 174.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/1.264, allocations: 12 kB / 0.9999 GB, free: 174.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.043e-05/1.264, allocations: 20 kB / 0.9999 GB, free: 174.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02614/1.29, allocations: 9.243 MB / 1.009 GB, free: 165.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/1.291, allocations: 303.5 kB / 1.009 GB, free: 164.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06386/1.355, allocations: 52.39 MB / 1.06 GB, free: 111.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002813/1.358, allocations: 216.6 kB / 1.061 GB, free: 111.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002486/1.358, allocations: 104 kB / 1.061 GB, free: 111.5 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001974/1.36, allocations: 1.586 MB / 1.062 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004284/1.361, allocations: 254.6 kB / 1.062 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02774/1.389, allocations: 14.76 MB / 1.077 GB, free: 94.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/1.389, allocations: 24 kB / 1.077 GB, free: 94.78 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000104/1.389, allocations: 44 kB / 1.077 GB, free: 94.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.006e-05/1.389, allocations: 11.95 kB / 1.077 GB, free: 94.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03414/1.423, allocations: 20.52 MB / 1.097 GB, free: 74.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-05/1.423, allocations: 8.938 kB / 1.097 GB, free: 74.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000676/1.424, allocations: 167.7 kB / 1.097 GB, free: 73.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02622/1.45, allocations: 9.003 MB / 1.106 GB, free: 64.87 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000404/1.45, allocations: 48 kB / 1.106 GB, free: 64.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06357/1.514, allocations: 51.99 MB / 1.157 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.514, allocations: 12 kB / 1.157 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02851/1.543, allocations: 14.38 MB / 1.171 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001995/1.545, allocations: 0.8585 MB / 1.172 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004819/1.545, allocations: 51.98 kB / 1.172 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/1.547, allocations: 207.7 kB / 1.172 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001194/1.548, allocations: 241.4 kB / 1.172 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002387/1.549, allocations: 64 kB / 1.172 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001653/1.55, allocations: 1.125 MB / 1.173 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/1.55, allocations: 4 kB / 1.173 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004415/1.555, allocations: 1.613 MB / 1.175 GB, free: 9.301 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03434/1.589, allocations: 14.98 MB / 1.19 GB, free: 10.17 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.02428/1.613, allocations: 10.58 MB / 1.2 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.613, allocations: 7.938 kB / 1.2 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01833/1.632, allocations: 7.327 MB / 1.207 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/1.635, allocations: 0.5532 MB / 1.208 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1037/1.738, allocations: 50.97 MB / 1.257 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004507/1.743, allocations: 3.231 MB / 1.26 GB, free: 356 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001133/1.744, allocations: 387.4 kB / 1.261 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001739/1.746, allocations: 1.464 MB / 1.262 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of SimCode: time 8.11e-07/1.746, allocations: 0 / 1.262 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5018/2.248, allocations: 120.9 MB / 1.38 GB, free: 232.8 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/16.97, allocations: 19.67 kB / 1.38 GB, free: 232.8 MB / 0.8575 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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_ACLineMatrix_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)