Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.001312/0.001312, allocations: 104.8 kB / 16.27 MB, free: 5.98 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.001351/0.001351, allocations: 192.9 kB / 17.2 MB, free: 5.609 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.305/1.305, 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.7346/0.7346, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 67.89 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3278, allocations: 77.93 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02182/0.3497, allocations: 22.57 MB / 0.5893 GB, free: 17.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009761/0.3595, allocations: 6.236 MB / 0.5954 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/0.3616, allocations: 97.22 kB / 0.5955 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003579/0.3652, allocations: 1.539 MB / 0.597 GB, free: 10.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.3689, allocations: 1.623 MB / 0.5986 GB, free: 9.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.3718, allocations: 1.343 MB / 0.5999 GB, free: 8.441 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005023/0.3769, allocations: 5.941 MB / 0.6057 GB, free: 3.375 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006551/0.3834, allocations: 6.104 MB / 0.6117 GB, free: 13.24 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003428/0.3869, allocations: 2.399 MB / 0.614 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003989/0.3909, allocations: 2.87 MB / 0.6168 GB, free: 7.957 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.3921, allocations: 463.9 kB / 0.6173 GB, free: 7.504 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.3948, allocations: 1.092 MB / 0.6183 GB, free: 6.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00238/0.3972, allocations: 2.027 MB / 0.6203 GB, free: 4.379 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003448/0.4006, allocations: 2.167 MB / 0.6224 GB, free: 2.203 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006982/0.4076, allocations: 7.245 MB / 0.6295 GB, free: 10.93 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4076, allocations: 4 kB / 0.6295 GB, free: 10.93 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4076, allocations: 0 / 0.6295 GB, free: 10.93 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001098/0.4078, allocations: 3.984 kB / 0.6295 GB, free: 10.93 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.006215/0.414, allocations: 3.816 MB / 0.6332 GB, free: 7.051 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.414, allocations: 8.625 kB / 0.6333 GB, free: 7.043 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006192/0.4147, allocations: 0.4976 MB / 0.6337 GB, free: 6.535 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005823/0.4205, allocations: 1.21 MB / 0.6349 GB, free: 5.32 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003587/0.4241, allocations: 2.223 MB / 0.6371 GB, free: 3.039 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.4243, allocations: 242.4 kB / 0.6373 GB, free: 2.801 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005011/0.4248, allocations: 311.9 kB / 0.6376 GB, free: 2.496 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008734/0.4335, allocations: 6.216 MB / 0.6437 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.174e-05/0.4336, allocations: 7.938 kB / 0.6437 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000332/0.4339, allocations: 143.9 kB / 0.6438 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004208/0.4344, allocations: 402.3 kB / 0.6442 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006651/0.441, allocations: 4.666 MB / 0.6488 GB, free: 6.805 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02985/0.4709, allocations: 29.15 MB / 0.6772 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/0.4728, allocations: 1.418 MB / 0.6786 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.4744, allocations: 1.483 MB / 0.6801 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.17e-05/0.4745, allocations: 13 kB / 0.6801 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.4746, allocations: 43.5 kB / 0.6801 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=110): time 4.789e-06/0.4746, allocations: 4 kB / 0.6801 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of matching and sorting (n=179): time 0.1419/0.6165, allocations: 37.23 MB / 0.7165 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.6165, allocations: 77.34 kB / 0.7166 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/0.6185, allocations: 1.423 MB / 0.7179 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002253/0.6187, allocations: 61.64 kB / 0.718 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009998/0.6197, allocations: 1.531 MB / 0.7195 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006096/0.6204, allocations: 0.6123 MB / 0.7201 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007663/0.6211, allocations: 379.3 kB / 0.7205 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.117e-05/0.6212, allocations: 305.1 kB / 0.7208 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002337/0.6236, allocations: 1.784 MB / 0.7225 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002633/0.6262, allocations: 2.346 MB / 0.7248 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005231/0.6314, allocations: 4.387 MB / 0.7291 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.6315, allocations: 4 kB / 0.7291 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01688/0.6484, allocations: 8.574 MB / 0.7374 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.6484, allocations: 12 kB / 0.7375 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.6484, allocations: 19.94 kB / 0.7375 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01419/0.6626, allocations: 4.671 MB / 0.742 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.6638, allocations: 295.5 kB / 0.7423 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3153/0.9791, allocations: 32.62 MB / 0.7742 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/0.9812, allocations: 146.7 kB / 0.7743 GB, free: 139.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/0.9814, allocations: 86.42 kB / 0.7744 GB, free: 139.3 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001961/0.9834, allocations: 1.327 MB / 0.7757 GB, free: 138.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003369/0.9837, allocations: 201.8 kB / 0.7759 GB, free: 138.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01458/0.9983, allocations: 8.438 MB / 0.7841 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.9983, allocations: 17.91 kB / 0.7841 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.973e-05/0.9984, allocations: 25.94 kB / 0.7842 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.714e-05/0.9984, allocations: 8.719 kB / 0.7842 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01921/1.018, allocations: 12.85 MB / 0.7967 GB, free: 125.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/1.018, allocations: 4 kB / 0.7967 GB, free: 125.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006602/1.018, allocations: 172.5 kB / 0.7969 GB, free: 125.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01226/1.031, allocations: 4.511 MB / 0.8013 GB, free: 120.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002461/1.031, allocations: 40.5 kB / 0.8013 GB, free: 120.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0354/1.066, allocations: 32.21 MB / 0.8328 GB, free: 87.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.066, allocations: 11.94 kB / 0.8328 GB, free: 87.51 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/1.08, allocations: 8.236 MB / 0.8409 GB, free: 79.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009967/1.081, allocations: 0.6192 MB / 0.8415 GB, free: 78.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/1.081, allocations: 43.98 kB / 0.8415 GB, free: 78.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/1.083, allocations: 139.7 kB / 0.8416 GB, free: 78.33 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000975/1.084, allocations: 172.9 kB / 0.8418 GB, free: 78.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002158/1.084, allocations: 44 kB / 0.8418 GB, free: 78.12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001578/1.086, allocations: 0.9588 MB / 0.8428 GB, free: 77.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.81e-07/1.086, allocations: 0 / 0.8428 GB, free: 77.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00399/1.09, allocations: 1.117 MB / 0.8439 GB, free: 76.05 MB / 0.5762 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02326/1.113, allocations: 8.843 MB / 0.8525 GB, free: 67.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01239/1.125, allocations: 7.075 MB / 0.8594 GB, free: 59.96 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/1.125, allocations: 0 / 0.8594 GB, free: 59.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.008316/1.134, allocations: 4.355 MB / 0.8637 GB, free: 55.54 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002886/1.137, allocations: 0.518 MB / 0.8642 GB, free: 55.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04947/1.186, allocations: 35.22 MB / 0.8986 GB, free: 18.12 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002318/1.188, allocations: 2.725 MB / 0.9012 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001062/1.19, allocations: 392.6 kB / 0.9016 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009622/1.19, allocations: 1.21 MB / 0.9028 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of SimCode: time 6.22e-07/1.19, allocations: 0 / 0.9028 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1372/1.328, allocations: 82.81 MB / 0.9837 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.963/11.29, allocations: 14.12 kB / 0.9837 GB, free: 11.45 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)