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.001252/0.001252, allocations: 106.3 kB / 16.41 MB, free: 6.449 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.001296/0.001296, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.439/1.439, allocations: 222.9 MB / 241.1 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.8256/0.8256, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 70.22 kB / 0.5736 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1457, allocations: 78.87 MB / 0.6506 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0127/0.1585, allocations: 10.07 MB / 0.6604 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00564/0.1641, allocations: 3.182 MB / 0.6635 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005708/0.1647, allocations: 31.88 kB / 0.6635 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.1664, allocations: 0.6011 MB / 0.6641 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.1678, allocations: 0.7388 MB / 0.6648 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.1693, allocations: 0.7447 MB / 0.6656 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003244/0.1725, allocations: 2.992 MB / 0.6685 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003102/0.1757, allocations: 2.583 MB / 0.671 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.1774, allocations: 1.258 MB / 0.6722 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002207/0.1796, allocations: 1.562 MB / 0.6738 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003749/0.18, allocations: 236 kB / 0.674 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.181, allocations: 0.4955 MB / 0.6745 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.1821, allocations: 1.08 MB / 0.6755 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.1834, allocations: 1.101 MB / 0.6766 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003957/0.1873, allocations: 3.703 MB / 0.6802 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1874, allocations: 0 / 0.6802 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.304e-06/0.1874, allocations: 0 / 0.6802 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.214e-05/0.1874, allocations: 0 / 0.6802 GB, free: 5.082 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.004204/0.1917, allocations: 2.194 MB / 0.6824 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1917, allocations: 12.02 kB / 0.6824 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003542/0.1921, allocations: 257.2 kB / 0.6826 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009312/0.2014, allocations: 1.326 MB / 0.6839 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003037/0.2045, allocations: 1.306 MB / 0.6852 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.2046, allocations: 115.4 kB / 0.6853 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004035/0.205, allocations: 148.3 kB / 0.6854 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00609/0.2111, allocations: 3.437 MB / 0.6888 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.203e-05/0.2112, allocations: 7.984 kB / 0.6888 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002266/0.2114, allocations: 67.97 kB / 0.6889 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002799/0.2117, allocations: 203.1 kB / 0.6891 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005387/0.2171, allocations: 3.127 MB / 0.6921 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01918/0.2363, allocations: 13.55 MB / 0.7054 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/0.2391, allocations: 1.736 MB / 0.7071 GB, free: 8.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002111/0.2412, allocations: 1.436 MB / 0.7085 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.449e-05/0.2414, allocations: 16.94 kB / 0.7085 GB, free: 7.047 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.2414, allocations: 43.56 kB / 0.7085 GB, free: 6.992 MB / 0.545 GB Notification: Performance of pre-optimization done (n=104): time 6.122e-06/0.2414, allocations: 0 / 0.7085 GB, free: 6.992 MB / 0.545 GB Notification: Performance of matching and sorting (n=183): time 0.1591/0.4005, allocations: 36.72 MB / 0.7444 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.4006, allocations: 73.39 kB / 0.7444 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/0.4023, allocations: 1.046 MB / 0.7455 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003458/0.4026, allocations: 57.7 kB / 0.7455 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000641/0.4033, allocations: 0.8093 MB / 0.7463 GB, free: 96 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.279/0.6823, allocations: 0.6522 MB / 0.7469 GB, free: 87.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008429/0.6831, allocations: 360.2 kB / 0.7473 GB, free: 87.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.584e-05/0.6832, allocations: 305.7 kB / 0.7476 GB, free: 87.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002752/0.6859, allocations: 1.928 MB / 0.7495 GB, free: 87.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002906/0.6889, allocations: 2.285 MB / 0.7517 GB, free: 86.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006173/0.6951, allocations: 4.398 MB / 0.756 GB, free: 84.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/0.6951, allocations: 2.906 kB / 0.756 GB, free: 84.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02044/0.7155, allocations: 9.029 MB / 0.7648 GB, free: 81.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.7156, allocations: 9.219 kB / 0.7648 GB, free: 81.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/0.7156, allocations: 9.5 kB / 0.7648 GB, free: 81.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01623/0.7319, allocations: 4.975 MB / 0.7697 GB, free: 80.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008835/0.7328, allocations: 195.5 kB / 0.7699 GB, free: 80.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0448/0.7776, allocations: 38.93 MB / 0.8079 GB, free: 46.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/0.7795, allocations: 95.89 kB / 0.808 GB, free: 46.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/0.7797, allocations: 68 kB / 0.808 GB, free: 46.05 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.001022/0.7808, allocations: 0.8096 MB / 0.8088 GB, free: 45.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/0.7811, allocations: 155 kB / 0.809 GB, free: 45.08 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0171/0.7982, allocations: 8.895 MB / 0.8177 GB, free: 36.15 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.7982, allocations: 16 kB / 0.8177 GB, free: 36.13 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.977e-05/0.7983, allocations: 28 kB / 0.8177 GB, free: 36.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-05/0.7983, allocations: 11.97 kB / 0.8177 GB, free: 36.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02214/0.8205, allocations: 13.39 MB / 0.8308 GB, free: 22.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.307e-05/0.8205, allocations: 9.562 kB / 0.8308 GB, free: 22.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004581/0.821, allocations: 119.8 kB / 0.8309 GB, free: 22.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01515/0.8362, allocations: 4.841 MB / 0.8357 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002867/0.8365, allocations: 32 kB / 0.8357 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05298/0.8895, allocations: 36.86 MB / 0.8717 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.8895, allocations: 4 kB / 0.8717 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02055/0.9101, allocations: 8.61 MB / 0.8801 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/0.9115, allocations: 0.6386 MB / 0.8807 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003142/0.9119, allocations: 39.98 kB / 0.8808 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/0.9132, allocations: 91.89 kB / 0.8808 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008411/0.914, allocations: 167.9 kB / 0.881 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/0.9142, allocations: 48 kB / 0.8811 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001078/0.9153, allocations: 0.7343 MB / 0.8818 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9153, allocations: 4 kB / 0.8818 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002945/0.9182, allocations: 1 MB / 0.8828 GB, free: 0.75 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.02122/0.9395, allocations: 9.189 MB / 0.8917 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0109/0.9504, allocations: 5.965 MB / 0.8975 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.9504, allocations: 0 / 0.8975 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00866/0.9591, allocations: 3.96 MB / 0.9014 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.9607, allocations: 241.4 kB / 0.9016 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06301/1.024, allocations: 31.09 MB / 0.932 GB, free: 13.66 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002036/1.026, allocations: 1.855 MB / 0.9338 GB, free: 11.76 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009855/1.027, allocations: 351.9 kB / 0.9342 GB, free: 11.42 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007954/1.028, allocations: 0.6086 MB / 0.9347 GB, free: 10.81 MB / 0.67 GB Notification: Performance of SimCode: time 8.21e-07/1.028, allocations: 0 / 0.9347 GB, free: 10.81 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1419/1.169, allocations: 76.14 MB / 1.009 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/14.12, allocations: 7.844 kB / 1.009 GB, free: 14.96 MB / 0.7481 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)