Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_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.002205/0.002204, allocations: 110.2 kB / 16.41 MB, free: 6.496 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.00274/0.00274, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7576/0.7576, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 66.11 kB / 0.568 GB, free: 28.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1802, allocations: 77.93 MB / 0.6441 GB, free: 9.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02585/0.2061, allocations: 23.39 MB / 0.6669 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01117/0.2174, allocations: 6.488 MB / 0.6733 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/0.2194, allocations: 95.5 kB / 0.6734 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004246/0.2236, allocations: 1.496 MB / 0.6748 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004742/0.2284, allocations: 1.945 MB / 0.6767 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003599/0.232, allocations: 1.452 MB / 0.6781 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007686/0.2397, allocations: 6.916 MB / 0.6849 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01081/0.2505, allocations: 6.934 MB / 0.6917 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005456/0.256, allocations: 2.882 MB / 0.6945 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005856/0.2619, allocations: 3.482 MB / 0.6979 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001905/0.2639, allocations: 0.5273 MB / 0.6984 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004053/0.2679, allocations: 1.174 MB / 0.6995 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003915/0.2719, allocations: 2.456 MB / 0.7019 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004422/0.2763, allocations: 2.532 MB / 0.7044 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009537/0.2859, allocations: 8.546 MB / 0.7127 GB, free: 2.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2859, allocations: 0 / 0.7127 GB, free: 2.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2859, allocations: 8 kB / 0.7128 GB, free: 2.922 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002386/0.2862, allocations: 0 / 0.7128 GB, free: 2.922 MB / 0.545 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.01055/0.2967, allocations: 4.535 MB / 0.7172 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2968, allocations: 8.625 kB / 0.7172 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001429/0.2982, allocations: 0.5753 MB / 0.7178 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009174/0.3074, allocations: 1.711 MB / 0.7194 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006419/0.3139, allocations: 2.709 MB / 0.7221 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002462/0.3141, allocations: 275.7 kB / 0.7223 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00131/0.3154, allocations: 364.2 kB / 0.7227 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/0.3298, allocations: 7.49 MB / 0.73 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/0.3299, allocations: 15.88 kB / 0.73 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008784/0.3308, allocations: 163.9 kB / 0.7302 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005691/0.3314, allocations: 483.3 kB / 0.7306 GB, free: 216 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0102/0.3416, allocations: 5.697 MB / 0.7362 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3375/0.6791, allocations: 31.53 MB / 0.767 GB, free: 69.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003196/0.6823, allocations: 2.098 MB / 0.769 GB, free: 68.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003623/0.686, allocations: 2.182 MB / 0.7712 GB, free: 67.78 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.6861, allocations: 18.12 kB / 0.7712 GB, free: 67.78 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.6862, allocations: 46.69 kB / 0.7712 GB, free: 67.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=146): time 3.577e-06/0.6862, allocations: 4 kB / 0.7712 GB, free: 67.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=251): time 0.2886/0.9748, allocations: 77.1 MB / 0.8465 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.975, allocations: 77.41 kB / 0.8466 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002609/0.9776, allocations: 1.666 MB / 0.8482 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006729/0.9783, allocations: 61.7 kB / 0.8483 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008803/0.9792, allocations: 1.799 MB / 0.85 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001277/0.9804, allocations: 0.8972 MB / 0.8509 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001223/0.9817, allocations: 489.4 kB / 0.8514 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.9819, allocations: 301.1 kB / 0.8517 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004051/0.9859, allocations: 2.726 MB / 0.8543 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004226/0.9902, allocations: 3.332 MB / 0.8576 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007949/0.9982, allocations: 6.389 MB / 0.8638 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/0.9982, allocations: 12 kB / 0.8638 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03225/1.03, allocations: 14.7 MB / 0.8782 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.762e-05/1.031, allocations: 15.94 kB / 0.8782 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/1.031, allocations: 20.16 kB / 0.8782 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03077/1.061, allocations: 9.235 MB / 0.8872 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/1.063, allocations: 295.5 kB / 0.8875 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08072/1.143, allocations: 52.4 MB / 0.9387 GB, free: 4.352 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003216/1.147, allocations: 219.7 kB / 0.9389 GB, free: 4.137 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005603/1.147, allocations: 96 kB / 0.939 GB, free: 4.043 MB / 0.67 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.003714/1.151, allocations: 1.59 MB / 0.9406 GB, free: 2.441 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008643/1.152, allocations: 258.6 kB / 0.9408 GB, free: 2.188 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03329/1.185, allocations: 14.75 MB / 0.9552 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.82e-05/1.185, allocations: 24 kB / 0.9552 GB, free: 3.359 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001772/1.185, allocations: 44 kB / 0.9553 GB, free: 3.316 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.423e-05/1.185, allocations: 15.89 kB / 0.9553 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04534/1.231, allocations: 20.53 MB / 0.9753 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.369e-05/1.231, allocations: 8.781 kB / 0.9753 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008048/1.232, allocations: 163.8 kB / 0.9755 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0308/1.263, allocations: 9.003 MB / 0.9843 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007119/1.263, allocations: 51.94 kB / 0.9843 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0828/1.346, allocations: 51.95 MB / 1.035 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/1.346, allocations: 11.94 kB / 1.035 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3622/1.708, allocations: 14.36 MB / 1.049 GB, free: 259.8 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002939/1.711, allocations: 0.8605 MB / 1.05 GB, free: 259.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000755/1.712, allocations: 57.19 kB / 1.05 GB, free: 259.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002505/1.715, allocations: 206.8 kB / 1.05 GB, free: 259.7 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001263/1.716, allocations: 238.9 kB / 1.05 GB, free: 259.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002835/1.716, allocations: 64.41 kB / 1.05 GB, free: 259.7 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001632/1.718, allocations: 1.127 MB / 1.052 GB, free: 259.5 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/1.718, allocations: 0 / 1.052 GB, free: 259.5 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.005354/1.723, allocations: 1.614 MB / 1.053 GB, free: 259.5 MB / 0.7637 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.02946/1.753, allocations: 15 MB / 1.068 GB, free: 255.1 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.02114/1.774, allocations: 10.57 MB / 1.078 GB, free: 250.3 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/1.774, allocations: 3.844 kB / 1.078 GB, free: 250.3 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01664/1.791, allocations: 7.337 MB / 1.085 GB, free: 244.1 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003229/1.794, allocations: 0.5552 MB / 1.086 GB, free: 243.6 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08504/1.879, allocations: 50.96 MB / 1.136 GB, free: 191.7 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002984/1.882, allocations: 3.224 MB / 1.139 GB, free: 188.4 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009397/1.883, allocations: 397.2 kB / 1.139 GB, free: 188 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001188/1.884, allocations: 1.464 MB / 1.141 GB, free: 186.6 MB / 0.7637 GB Notification: Performance of SimCode: time 9.62e-07/1.884, allocations: 4 kB / 1.141 GB, free: 186.6 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1553/2.039, allocations: 120.8 MB / 1.259 GB, free: 66.25 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/16.54, allocations: 11.72 kB / 1.259 GB, free: 66.24 MB / 0.7637 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)