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.0011/0.0011, allocations: 104.6 kB / 16.27 MB, free: 5.93 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.001234/0.001234, allocations: 187.4 kB / 17.2 MB, free: 5.574 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.295/1.295, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.722/0.722, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.89 kB / 0.4912 GB, free: 7.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3146, allocations: 77.93 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02192/0.3366, allocations: 23.39 MB / 0.5901 GB, free: 16.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009239/0.3458, allocations: 6.493 MB / 0.5965 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.3477, allocations: 98.62 kB / 0.5966 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003148/0.3509, allocations: 1.486 MB / 0.598 GB, free: 9.934 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003375/0.3543, allocations: 1.825 MB / 0.5998 GB, free: 8.492 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002716/0.357, allocations: 1.468 MB / 0.6012 GB, free: 7.316 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004869/0.3619, allocations: 6.912 MB / 0.608 GB, free: 1.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00717/0.3691, allocations: 7.004 MB / 0.6148 GB, free: 9.98 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003791/0.3729, allocations: 2.832 MB / 0.6176 GB, free: 7.141 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004333/0.3772, allocations: 3.459 MB / 0.621 GB, free: 3.672 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009627/0.3782, allocations: 0.5273 MB / 0.6215 GB, free: 3.145 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002421/0.3806, allocations: 1.186 MB / 0.6227 GB, free: 1.957 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002446/0.3831, allocations: 2.46 MB / 0.6251 GB, free: 15.49 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003351/0.3865, allocations: 2.532 MB / 0.6275 GB, free: 12.95 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007904/0.3944, allocations: 8.472 MB / 0.6358 GB, free: 4.453 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.3944, allocations: 3.938 kB / 0.6358 GB, free: 4.449 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3944, allocations: 0 / 0.6358 GB, free: 4.449 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001693/0.3946, allocations: 0 / 0.6358 GB, free: 4.449 MB / 478.1 MB 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.00968/0.4043, allocations: 4.424 MB / 0.6401 GB, free: 15.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4044, allocations: 8.625 kB / 0.6401 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001043/0.4054, allocations: 0.5753 MB / 0.6407 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008339/0.4138, allocations: 1.681 MB / 0.6423 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004416/0.4182, allocations: 2.575 MB / 0.6449 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.4184, allocations: 275.7 kB / 0.6451 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000662/0.4191, allocations: 356.3 kB / 0.6455 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.4297, allocations: 7.494 MB / 0.6528 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.259e-05/0.4298, allocations: 19.81 kB / 0.6528 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003996/0.4302, allocations: 155.9 kB / 0.6529 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005054/0.4307, allocations: 483.3 kB / 0.6534 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008205/0.4389, allocations: 5.701 MB / 0.659 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03076/0.4697, allocations: 31.72 MB / 0.6899 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0027/0.4725, allocations: 2.097 MB / 0.692 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002706/0.4752, allocations: 2.178 MB / 0.6941 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.4753, allocations: 17.31 kB / 0.6941 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.4754, allocations: 43.88 kB / 0.6942 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=146): time 2.875e-06/0.4754, allocations: 0 / 0.6942 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of matching and sorting (n=251): time 0.5286/1.004, allocations: 77 MB / 0.7694 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/1.004, allocations: 79.22 kB / 0.7695 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003304/1.007, allocations: 1.669 MB / 0.7711 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005773/1.008, allocations: 61.52 kB / 0.7711 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007946/1.009, allocations: 1.748 MB / 0.7728 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000736/1.01, allocations: 0.8509 MB / 0.7737 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009687/1.011, allocations: 484.6 kB / 0.7741 GB, free: 149 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.716e-05/1.011, allocations: 305.9 kB / 0.7744 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003127/1.014, allocations: 2.729 MB / 0.7771 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00338/1.017, allocations: 3.329 MB / 0.7803 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006298/1.024, allocations: 6.397 MB / 0.7866 GB, free: 137.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/1.024, allocations: 7.938 kB / 0.7866 GB, free: 137.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02707/1.051, allocations: 14.68 MB / 0.8009 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/1.051, allocations: 12 kB / 0.8009 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/1.051, allocations: 18.52 kB / 0.801 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02514/1.076, allocations: 9.292 MB / 0.81 GB, free: 113.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/1.077, allocations: 299.4 kB / 0.8103 GB, free: 113.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06208/1.139, allocations: 52.37 MB / 0.8615 GB, free: 60.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00281/1.142, allocations: 235.7 kB / 0.8617 GB, free: 60.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000262/1.142, allocations: 97.73 kB / 0.8618 GB, free: 59.99 MB / 0.5762 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.002283/1.144, allocations: 1.585 MB / 0.8633 GB, free: 58.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006411/1.145, allocations: 253 kB / 0.8636 GB, free: 58.15 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02756/1.173, allocations: 14.76 MB / 0.878 GB, free: 43.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/1.173, allocations: 32 kB / 0.878 GB, free: 43.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001082/1.173, allocations: 44 kB / 0.8781 GB, free: 43.26 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.422e-05/1.173, allocations: 11.95 kB / 0.8781 GB, free: 43.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03384/1.207, allocations: 20.51 MB / 0.8981 GB, free: 22.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/1.207, allocations: 4 kB / 0.8981 GB, free: 22.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00066/1.207, allocations: 163.7 kB / 0.8983 GB, free: 22.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0248/1.232, allocations: 9.057 MB / 0.9071 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003132/1.233, allocations: 51.98 kB / 0.9072 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07136/1.304, allocations: 51.95 MB / 0.9579 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/1.304, allocations: 11.94 kB / 0.9579 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03052/1.335, allocations: 14.36 MB / 0.9719 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/1.336, allocations: 0.8454 MB / 0.9728 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005906/1.337, allocations: 51.91 kB / 0.9728 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00224/1.339, allocations: 212 kB / 0.973 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00119/1.34, allocations: 237.5 kB / 0.9732 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002137/1.341, allocations: 72 kB / 0.9733 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001368/1.342, allocations: 1.129 MB / 0.9744 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/1.342, allocations: 0 / 0.9744 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003877/1.346, allocations: 1.617 MB / 0.976 GB, free: 5.781 MB / 0.6387 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.03051/1.376, allocations: 14.97 MB / 0.9906 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.2425/1.619, allocations: 11.32 MB / 1.002 GB, free: 225.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/1.619, allocations: 1.062 kB / 1.002 GB, free: 225.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01745/1.636, allocations: 7.311 MB / 1.009 GB, free: 224.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/1.639, allocations: 0.5512 MB / 1.009 GB, free: 224.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08391/1.723, allocations: 53.36 MB / 1.061 GB, free: 183.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002914/1.726, allocations: 3.224 MB / 1.065 GB, free: 180.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001025/1.727, allocations: 395.3 kB / 1.065 GB, free: 180.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/1.729, allocations: 1.46 MB / 1.066 GB, free: 178.6 MB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/1.729, allocations: 0 / 1.066 GB, free: 178.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1418/1.87, allocations: 119.4 MB / 1.183 GB, free: 59.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/12.64, allocations: 14.31 kB / 1.183 GB, free: 59.68 MB / 0.6544 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)