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.001543/0.001543, allocations: 108.8 kB / 16.41 MB, free: 6.469 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.001574/0.001574, allocations: 189.2 kB / 17.34 MB, free: 5.75 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.364/1.364, 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.7861/0.7861, allocations: 122.9 MB / 414.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 76.95 kB / 0.568 GB, free: 28.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1345, allocations: 77.93 MB / 0.6441 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01177/0.1463, allocations: 9.989 MB / 0.6538 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005618/0.152, allocations: 3.041 MB / 0.6568 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000913/0.1529, allocations: 35.81 kB / 0.6568 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.1551, allocations: 0.6959 MB / 0.6575 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001964/0.1571, allocations: 0.7195 MB / 0.6582 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.159, allocations: 0.6374 MB / 0.6588 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003292/0.1623, allocations: 2.738 MB / 0.6615 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003349/0.1657, allocations: 2.527 MB / 0.664 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002107/0.1678, allocations: 1.141 MB / 0.6651 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002533/0.1704, allocations: 1.387 MB / 0.6665 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007836/0.1712, allocations: 216 kB / 0.6667 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.1728, allocations: 487.4 kB / 0.6671 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001484/0.1744, allocations: 0.9824 MB / 0.6681 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00218/0.1766, allocations: 1.015 MB / 0.6691 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0046/0.1812, allocations: 3.426 MB / 0.6724 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.769e-06/0.1812, allocations: 0 / 0.6724 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.745e-06/0.1813, allocations: 0 / 0.6724 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001145/0.1814, allocations: 0 / 0.6724 GB, free: 12.39 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.005465/0.1868, allocations: 1.98 MB / 0.6744 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.1869, allocations: 12.62 kB / 0.6744 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006843/0.1876, allocations: 252.7 kB / 0.6746 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006436/0.1941, allocations: 0.897 MB / 0.6755 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002997/0.1971, allocations: 1.173 MB / 0.6766 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.824e-05/0.1972, allocations: 111.3 kB / 0.6767 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005461/0.1978, allocations: 136.4 kB / 0.6769 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005055/0.2029, allocations: 3.018 MB / 0.6798 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.264e-05/0.2029, allocations: 11.89 kB / 0.6798 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001881/0.2031, allocations: 63.92 kB / 0.6799 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002291/0.2034, allocations: 179 kB / 0.6801 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004255/0.2076, allocations: 2.604 MB / 0.6826 GB, free: 1.746 MB / 0.5137 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.01752/0.2252, allocations: 13.5 MB / 0.6958 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/0.2273, allocations: 1.293 MB / 0.697 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.2288, allocations: 1.062 MB / 0.6981 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.789e-05/0.2289, allocations: 8.656 kB / 0.6981 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.025e-05/0.2289, allocations: 47.22 kB / 0.6981 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=82): time 3.045e-06/0.2289, allocations: 0 / 0.6981 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of matching and sorting (n=139): time 0.07668/0.3056, allocations: 19.41 MB / 0.7171 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.3057, allocations: 68.72 kB / 0.7172 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.3071, allocations: 0.9183 MB / 0.7181 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002232/0.3074, allocations: 53.7 kB / 0.7181 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000485/0.3078, allocations: 0.7462 MB / 0.7188 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006018/0.3085, allocations: 0.5035 MB / 0.7193 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006796/0.3091, allocations: 291.5 kB / 0.7196 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3093, allocations: 353.9 kB / 0.7199 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001983/0.3113, allocations: 1.335 MB / 0.7212 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00215/0.3135, allocations: 1.659 MB / 0.7229 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004119/0.3176, allocations: 3.096 MB / 0.7259 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.3176, allocations: 0 / 0.7259 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01215/0.3298, allocations: 5.639 MB / 0.7314 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.3299, allocations: 15.88 kB / 0.7314 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.3299, allocations: 12 kB / 0.7314 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009364/0.3393, allocations: 2.721 MB / 0.7341 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008987/0.3402, allocations: 191.7 kB / 0.7343 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3717/0.7119, allocations: 25.72 MB / 0.7594 GB, free: 84.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.7136, allocations: 95.59 kB / 0.7595 GB, free: 84.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/0.7137, allocations: 55.73 kB / 0.7595 GB, free: 84.58 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.00123/0.715, allocations: 0.7316 MB / 0.7602 GB, free: 84.24 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002673/0.7152, allocations: 122.3 kB / 0.7604 GB, free: 84.24 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/0.7265, allocations: 5.404 MB / 0.7656 GB, free: 82.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.7265, allocations: 13.44 kB / 0.7656 GB, free: 82.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.478e-05/0.7266, allocations: 18.72 kB / 0.7657 GB, free: 82.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.7266, allocations: 8.578 kB / 0.7657 GB, free: 82.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/0.7411, allocations: 8.685 MB / 0.7742 GB, free: 79.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/0.7411, allocations: 7.125 kB / 0.7742 GB, free: 79.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/0.7415, allocations: 122 kB / 0.7743 GB, free: 79.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007549/0.7491, allocations: 2.587 MB / 0.7768 GB, free: 77.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/0.7492, allocations: 35.27 kB / 0.7768 GB, free: 77.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02618/0.7754, allocations: 24.17 MB / 0.8004 GB, free: 55.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.7755, allocations: 11.88 kB / 0.8004 GB, free: 55.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00925/0.7847, allocations: 5.253 MB / 0.8056 GB, free: 50.44 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/0.7859, allocations: 492.2 kB / 0.806 GB, free: 49.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/0.7862, allocations: 31.94 kB / 0.8061 GB, free: 49.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009274/0.7871, allocations: 79.89 kB / 0.8062 GB, free: 49.83 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004689/0.7876, allocations: 117.1 kB / 0.8063 GB, free: 49.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.341e-05/0.7877, allocations: 40.44 kB / 0.8063 GB, free: 49.67 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006635/0.7884, allocations: 0.6434 MB / 0.8069 GB, free: 49.03 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7884, allocations: 0 / 0.8069 GB, free: 49.03 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002426/0.7908, allocations: 0.7305 MB / 0.8076 GB, free: 48.3 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.009489/0.8003, allocations: 5.831 MB / 0.8133 GB, free: 42.38 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00598/0.8063, allocations: 4.237 MB / 0.8175 GB, free: 38.11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.8064, allocations: 3 kB / 0.8175 GB, free: 38.11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004313/0.8107, allocations: 2.719 MB / 0.8201 GB, free: 35.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.8119, allocations: 220.7 kB / 0.8203 GB, free: 35.14 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03081/0.8428, allocations: 21.45 MB / 0.8413 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/0.844, allocations: 1.707 MB / 0.843 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006907/0.8447, allocations: 327.1 kB / 0.8433 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005243/0.8452, allocations: 0.5305 MB / 0.8438 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.8453, allocations: 0 / 0.8438 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08738/0.9326, allocations: 52.69 MB / 0.8952 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.52, allocations: 10.88 kB / 0.8953 GB, free: 6.301 MB / 0.6231 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)