Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.0013/0.0013, allocations: 108 kB / 16.41 MB, free: 6.039 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.00132/0.00132, allocations: 191.9 kB / 17.34 MB, free: 5.629 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9005/0.9005, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 70.11 kB / 0.5735 GB, free: 27.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1458, allocations: 78.87 MB / 0.6506 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01326/0.1591, allocations: 10 MB / 0.6603 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005584/0.1647, allocations: 3.037 MB / 0.6633 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006476/0.1654, allocations: 39.81 kB / 0.6633 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001941/0.1674, allocations: 0.6876 MB / 0.664 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.1689, allocations: 0.6844 MB / 0.6647 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.1704, allocations: 0.6355 MB / 0.6653 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003027/0.1734, allocations: 2.738 MB / 0.668 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003081/0.1765, allocations: 2.535 MB / 0.6704 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/0.1782, allocations: 1.13 MB / 0.6716 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002207/0.1804, allocations: 1.379 MB / 0.6729 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004044/0.1808, allocations: 220 kB / 0.6731 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.1819, allocations: 487.4 kB / 0.6736 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001146/0.1831, allocations: 0.9863 MB / 0.6745 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.1844, allocations: 1.011 MB / 0.6755 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003793/0.1882, allocations: 3.415 MB / 0.6789 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.228e-05/0.1882, allocations: 4 kB / 0.6789 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1882, allocations: 4 kB / 0.6789 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.195e-05/0.1883, allocations: 0 / 0.6789 GB, free: 6.5 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003874/0.1922, allocations: 1.984 MB / 0.6808 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.1922, allocations: 8.031 kB / 0.6808 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003705/0.1926, allocations: 252.7 kB / 0.6811 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006075/0.1987, allocations: 0.9009 MB / 0.6819 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/0.2012, allocations: 1.165 MB / 0.6831 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.786e-05/0.2013, allocations: 111.3 kB / 0.6832 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003324/0.2016, allocations: 144.3 kB / 0.6833 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005176/0.2068, allocations: 3.017 MB / 0.6863 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.001e-05/0.2069, allocations: 7.938 kB / 0.6863 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/0.2071, allocations: 67.97 kB / 0.6863 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002428/0.2073, allocations: 179 kB / 0.6865 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00457/0.2119, allocations: 2.6 MB / 0.689 GB, free: 11.86 MB / 0.5294 GB 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.01962/0.2316, allocations: 13.51 MB / 0.7022 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.2339, allocations: 1.308 MB / 0.7035 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.2354, allocations: 1.047 MB / 0.7045 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.988e-05/0.2355, allocations: 8.656 kB / 0.7045 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.2355, allocations: 43.2 kB / 0.7046 GB, free: 10.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=82): time 2.836e-06/0.2355, allocations: 4 kB / 0.7046 GB, free: 10.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=139): time 0.07913/0.3147, allocations: 19.4 MB / 0.7235 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.3148, allocations: 68.72 kB / 0.7236 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/0.3166, allocations: 0.9184 MB / 0.7245 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003573/0.317, allocations: 49.7 kB / 0.7245 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006938/0.3177, allocations: 0.7501 MB / 0.7253 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007164/0.3184, allocations: 0.4996 MB / 0.7258 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006483/0.319, allocations: 295.5 kB / 0.726 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002134/0.3193, allocations: 353.9 kB / 0.7264 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/0.3215, allocations: 1.339 MB / 0.7277 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/0.3238, allocations: 1.655 MB / 0.7293 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004511/0.3284, allocations: 3.086 MB / 0.7323 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.3284, allocations: 4 kB / 0.7323 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01267/0.3411, allocations: 5.643 MB / 0.7378 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.3411, allocations: 15.94 kB / 0.7378 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.3412, allocations: 8 kB / 0.7379 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009503/0.3507, allocations: 2.719 MB / 0.7405 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008851/0.3516, allocations: 187.7 kB / 0.7407 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3289/0.6805, allocations: 25.73 MB / 0.7658 GB, free: 76.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.6821, allocations: 97.19 kB / 0.7659 GB, free: 76.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/0.6823, allocations: 57.31 kB / 0.766 GB, free: 76.57 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0012/0.6835, allocations: 0.7365 MB / 0.7667 GB, free: 76.24 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.6837, allocations: 117.1 kB / 0.7668 GB, free: 76.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/0.6943, allocations: 5.397 MB / 0.7721 GB, free: 74.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.6944, allocations: 13.53 kB / 0.7721 GB, free: 74.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.946e-05/0.6944, allocations: 18.66 kB / 0.7721 GB, free: 74.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2e-05/0.6944, allocations: 10.81 kB / 0.7721 GB, free: 74.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/0.7087, allocations: 8.692 MB / 0.7806 GB, free: 70.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/0.7087, allocations: 4.375 kB / 0.7806 GB, free: 70.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004767/0.7092, allocations: 124 kB / 0.7807 GB, free: 70.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007945/0.7172, allocations: 2.582 MB / 0.7832 GB, free: 69 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001757/0.7174, allocations: 23.88 kB / 0.7833 GB, free: 68.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02629/0.7437, allocations: 24.17 MB / 0.8069 GB, free: 45.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.7437, allocations: 11.88 kB / 0.8069 GB, free: 45.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009231/0.753, allocations: 5.255 MB / 0.812 GB, free: 39.86 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006591/0.7536, allocations: 488.2 kB / 0.8125 GB, free: 39.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/0.7538, allocations: 35.89 kB / 0.8125 GB, free: 39.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009257/0.7548, allocations: 79.89 kB / 0.8126 GB, free: 39.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004846/0.7553, allocations: 118 kB / 0.8127 GB, free: 39.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.91e-05/0.7554, allocations: 39.94 kB / 0.8127 GB, free: 39.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006212/0.756, allocations: 0.6473 MB / 0.8134 GB, free: 38.45 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/0.756, allocations: 0 / 0.8134 GB, free: 38.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001982/0.758, allocations: 0.7227 MB / 0.8141 GB, free: 37.73 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009411/0.7674, allocations: 5.827 MB / 0.8198 GB, free: 31.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006065/0.7735, allocations: 4.23 MB / 0.8239 GB, free: 27.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/0.7736, allocations: 0 / 0.8239 GB, free: 27.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004656/0.7782, allocations: 2.727 MB / 0.8266 GB, free: 24.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.7796, allocations: 220 kB / 0.8268 GB, free: 24.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03081/0.8104, allocations: 21.46 MB / 0.8477 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.8115, allocations: 1.7 MB / 0.8494 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006666/0.8122, allocations: 326.6 kB / 0.8497 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005048/0.8127, allocations: 0.5305 MB / 0.8502 GB, free: 88 kB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.8127, allocations: 0 / 0.8502 GB, free: 88 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1044/0.9171, allocations: 52.7 MB / 0.9017 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/13, allocations: 11.39 kB / 0.9017 GB, free: 11.69 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)