Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.001352/0.001352, allocations: 107.4 kB / 16.41 MB, free: 6.5 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.001356/0.001356, 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.307/1.307, 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.7858/0.7858, allocations: 122.9 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 59.61 kB / 0.568 GB, free: 28.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1951, 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_RLC_N): time 0.01273/0.2079, allocations: 10.07 MB / 0.6539 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005929/0.2139, allocations: 3.174 MB / 0.657 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000887/0.2148, allocations: 39.81 kB / 0.657 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.2167, allocations: 0.5985 MB / 0.6576 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.2186, allocations: 0.774 MB / 0.6584 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.2203, allocations: 0.7356 MB / 0.6591 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00345/0.2238, allocations: 3 MB / 0.662 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003489/0.2273, allocations: 2.587 MB / 0.6646 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001997/0.2293, allocations: 1.274 MB / 0.6658 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002456/0.2318, allocations: 1.562 MB / 0.6673 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007463/0.2326, allocations: 236 kB / 0.6676 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.2342, allocations: 0.4954 MB / 0.668 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001698/0.2359, allocations: 1.072 MB / 0.6691 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001858/0.2378, allocations: 1.109 MB / 0.6702 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004404/0.2422, allocations: 3.703 MB / 0.6738 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2422, allocations: 0 / 0.6738 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2422, allocations: 0 / 0.6738 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000102/0.2423, allocations: 0 / 0.6738 GB, free: 10.99 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004855/0.2472, allocations: 2.198 MB / 0.6759 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001191/0.2473, allocations: 8.625 kB / 0.6759 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003299/0.2477, allocations: 261.2 kB / 0.6762 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009485/0.2571, allocations: 1.326 MB / 0.6775 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002919/0.2601, allocations: 1.302 MB / 0.6788 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.375e-05/0.2602, allocations: 111.4 kB / 0.6789 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004265/0.2606, allocations: 156.3 kB / 0.679 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005243/0.2659, allocations: 3.429 MB / 0.6824 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.943e-05/0.266, allocations: 11.94 kB / 0.6824 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002133/0.2662, allocations: 67.97 kB / 0.6824 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002482/0.2664, allocations: 199.1 kB / 0.6826 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004719/0.2712, allocations: 3.128 MB / 0.6857 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01782/0.289, allocations: 13.56 MB / 0.6989 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002776/0.2918, allocations: 1.732 MB / 0.7006 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/0.2938, allocations: 1.44 MB / 0.702 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-05/0.2939, allocations: 13 kB / 0.702 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.2939, allocations: 43.5 kB / 0.7021 GB, free: 12.9 MB / 0.545 GB Notification: Performance of pre-optimization done (n=104): time 2.644e-06/0.2939, allocations: 0 / 0.7021 GB, free: 12.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=183): time 0.1502/0.4441, allocations: 36.72 MB / 0.7379 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.4442, allocations: 77.41 kB / 0.738 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.4459, allocations: 1.05 MB / 0.739 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003233/0.4462, allocations: 53.7 kB / 0.7391 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000575/0.4468, allocations: 0.8093 MB / 0.7399 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008406/0.4476, allocations: 0.6468 MB / 0.7405 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009268/0.4486, allocations: 371.5 kB / 0.7409 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.4487, allocations: 301.1 kB / 0.7411 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002955/0.4516, allocations: 1.928 MB / 0.743 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003361/0.455, allocations: 2.281 MB / 0.7453 GB, free: 344 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3737/0.8288, allocations: 4.388 MB / 0.7495 GB, free: 91.08 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/0.8288, allocations: 3.062 kB / 0.7495 GB, free: 91.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02558/0.8544, allocations: 9.04 MB / 0.7584 GB, free: 88.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.8545, allocations: 9.938 kB / 0.7584 GB, free: 88.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/0.8545, allocations: 8.969 kB / 0.7584 GB, free: 88.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01679/0.8713, allocations: 4.976 MB / 0.7633 GB, free: 87.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008542/0.8722, allocations: 196.2 kB / 0.7634 GB, free: 87.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04751/0.9197, allocations: 38.94 MB / 0.8015 GB, free: 56.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.9218, allocations: 95.89 kB / 0.8016 GB, free: 56.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/0.922, allocations: 68 kB / 0.8016 GB, free: 56.11 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001037/0.923, allocations: 0.8035 MB / 0.8024 GB, free: 55.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002934/0.9233, allocations: 151.1 kB / 0.8026 GB, free: 55.15 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01695/0.9403, allocations: 8.893 MB / 0.8112 GB, free: 46.22 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/0.9403, allocations: 16 kB / 0.8113 GB, free: 46.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.158e-05/0.9404, allocations: 28 kB / 0.8113 GB, free: 46.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.742e-05/0.9404, allocations: 15.91 kB / 0.8113 GB, free: 46.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02366/0.9641, allocations: 13.4 MB / 0.8244 GB, free: 32.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.9641, allocations: 4 kB / 0.8244 GB, free: 32.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004935/0.9646, allocations: 119.8 kB / 0.8245 GB, free: 32.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01534/0.98, allocations: 4.839 MB / 0.8292 GB, free: 27.68 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002656/0.9803, allocations: 28 kB / 0.8292 GB, free: 27.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04991/1.03, allocations: 36.86 MB / 0.8652 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.914e-06/1.03, allocations: 7.938 kB / 0.8653 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02187/1.052, allocations: 8.611 MB / 0.8737 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002006/1.054, allocations: 0.6387 MB / 0.8743 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006583/1.055, allocations: 39.98 kB / 0.8743 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/1.057, allocations: 87.89 kB / 0.8744 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008995/1.058, allocations: 165.6 kB / 0.8746 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001974/1.058, allocations: 49.78 kB / 0.8746 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001291/1.059, allocations: 0.7382 MB / 0.8753 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.6e-07/1.059, allocations: 4 kB / 0.8753 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00419/1.063, allocations: 1 MB / 0.8763 GB, free: 10.82 MB / 0.6075 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02049/1.084, allocations: 9.191 MB / 0.8853 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01159/1.095, allocations: 5.952 MB / 0.8911 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/1.095, allocations: 0 / 0.8911 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.008505/1.104, allocations: 3.96 MB / 0.895 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/1.106, allocations: 249.8 kB / 0.8952 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06793/1.174, allocations: 31.07 MB / 0.9256 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002277/1.176, allocations: 1.855 MB / 0.9274 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00102/1.177, allocations: 362.1 kB / 0.9277 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009238/1.178, allocations: 0.607 MB / 0.9283 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of SimCode: time 1.593e-06/1.178, allocations: 0 / 0.9283 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1365/1.315, allocations: 76.14 MB / 1.003 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.72, allocations: 2.812 kB / 1.003 GB, free: 9.051 MB / 0.7325 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_RLC_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)