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: translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.001139, allocations: 109.8 kB / 15.99 MB, free: 6.355 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.001182/0.001182, allocations: 194.4 kB / 16.91 MB, free: 6.195 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.351/1.351, allocations: 222.9 MB / 240.6 MB, free: 15.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7422/0.7422, allocations: 122.9 MB / 413.6 MB, free: 88 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 63.91 kB / 0.4906 GB, free: 7.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3826, allocations: 77.91 MB / 0.5667 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0104/0.3931, allocations: 10.04 MB / 0.5765 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005055/0.3982, allocations: 3.155 MB / 0.5796 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005191/0.3987, allocations: 31.25 kB / 0.5796 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.4002, allocations: 0.5417 MB / 0.5801 GB, free: 23.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.4016, allocations: 0.6812 MB / 0.5808 GB, free: 22.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.4031, allocations: 0.6945 MB / 0.5815 GB, free: 22.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002721/0.4058, allocations: 3.011 MB / 0.5844 GB, free: 21.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003479/0.4093, allocations: 3.068 MB / 0.5874 GB, free: 19.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.411, allocations: 1.27 MB / 0.5887 GB, free: 18.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/0.4129, allocations: 1.643 MB / 0.5903 GB, free: 17.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003526/0.4132, allocations: 235.2 kB / 0.5905 GB, free: 17.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009518/0.4142, allocations: 0.5045 MB / 0.591 GB, free: 17.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007856/0.415, allocations: 1.075 MB / 0.592 GB, free: 17.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008029/0.4158, allocations: 1.112 MB / 0.5931 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002187/0.418, allocations: 3.685 MB / 0.5967 GB, free: 12.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.418, allocations: 3.938 kB / 0.5967 GB, free: 12.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.418, allocations: 0 / 0.5967 GB, free: 12.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.256e-05/0.4181, allocations: 4 kB / 0.5967 GB, free: 12.19 MB / 446.1 MB 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.003157/0.4212, allocations: 2.138 MB / 0.5988 GB, free: 9.996 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.4213, allocations: 15.91 kB / 0.5988 GB, free: 9.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008367/0.4296, allocations: 1.317 MB / 0.6001 GB, free: 8.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/0.4314, allocations: 1.255 MB / 0.6013 GB, free: 7.359 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.002e-05/0.4314, allocations: 111.4 kB / 0.6014 GB, free: 7.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003015/0.4317, allocations: 144.3 kB / 0.6016 GB, free: 7.109 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004315/0.4361, allocations: 3.445 MB / 0.6049 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.197e-05/0.4361, allocations: 11.89 kB / 0.605 GB, free: 3.555 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002051/0.4363, allocations: 59.97 kB / 0.605 GB, free: 3.496 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002042/0.4365, allocations: 211.1 kB / 0.6052 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00386/0.4404, allocations: 3.12 MB / 0.6083 GB, free: 168 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0165/0.4569, allocations: 13.61 MB / 0.6216 GB, free: 1.668 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002564/0.4595, allocations: 1.731 MB / 0.6232 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00193/0.4615, allocations: 1.44 MB / 0.6247 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.4616, allocations: 17 kB / 0.6247 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.4616, allocations: 39.56 kB / 0.6247 GB, free: 14.42 MB / 478.1 MB Notification: Performance of pre-optimization done (n=104): time 4.689e-06/0.4616, allocations: 0 / 0.6247 GB, free: 14.42 MB / 478.1 MB Notification: Performance of matching and sorting (n=183): time 0.1391/0.6007, allocations: 36.67 MB / 0.6605 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.6008, allocations: 69.41 kB / 0.6606 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.6025, allocations: 1.053 MB / 0.6616 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002845/0.6028, allocations: 57.64 kB / 0.6617 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000502/0.6033, allocations: 0.7874 MB / 0.6624 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000575/0.6039, allocations: 0.6277 MB / 0.663 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007583/0.6046, allocations: 367.3 kB / 0.6634 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.268e-05/0.6047, allocations: 305.1 kB / 0.6637 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002709/0.6074, allocations: 1.928 MB / 0.6656 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002895/0.6103, allocations: 2.293 MB / 0.6678 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005757/0.6161, allocations: 4.387 MB / 0.6721 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.6161, allocations: 0 / 0.6721 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01971/0.6359, allocations: 9.022 MB / 0.6809 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.6359, allocations: 16.06 kB / 0.6809 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.636, allocations: 8 kB / 0.6809 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01682/0.6528, allocations: 5.01 MB / 0.6858 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008835/0.6537, allocations: 191.7 kB / 0.686 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05786/0.7116, allocations: 38.91 MB / 0.724 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.7135, allocations: 103.9 kB / 0.7241 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004137/0.7139, allocations: 71.98 kB / 0.7242 GB, free: 7.48 MB / 0.5606 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.001624/0.7155, allocations: 0.8056 MB / 0.725 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004324/0.716, allocations: 142.3 kB / 0.7251 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02007/0.736, allocations: 8.882 MB / 0.7338 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/0.7361, allocations: 16 kB / 0.7338 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.142e-05/0.7362, allocations: 35.94 kB / 0.7338 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.851e-05/0.7362, allocations: 15.95 kB / 0.7338 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02768/0.7639, allocations: 13.31 MB / 0.7468 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/0.764, allocations: 4 kB / 0.7468 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.303/1.067, allocations: 113.1 kB / 0.7469 GB, free: 155 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01722/1.084, allocations: 4.79 MB / 0.7516 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003497/1.085, allocations: 33.77 kB / 0.7516 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04741/1.132, allocations: 34.87 MB / 0.7857 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.132, allocations: 3.875 kB / 0.7857 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01618/1.148, allocations: 8.4 MB / 0.7939 GB, free: 133.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/1.149, allocations: 0.6163 MB / 0.7945 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002889/1.15, allocations: 39.98 kB / 0.7945 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/1.151, allocations: 91.89 kB / 0.7946 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008845/1.152, allocations: 156.6 kB / 0.7948 GB, free: 132.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/1.152, allocations: 48 kB / 0.7948 GB, free: 132.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000784/1.153, allocations: 0.7382 MB / 0.7955 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.153, allocations: 0 / 0.7955 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003096/1.156, allocations: 1.008 MB / 0.7965 GB, free: 130.8 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 (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%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003091/1.156, allocations: 146.2 kB / 0.7967 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009041/1.165, allocations: 6.694 MB / 0.8032 GB, free: 124 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.165, allocations: 0 / 0.8032 GB, free: 124 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006224/1.171, allocations: 3.846 MB / 0.807 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/1.173, allocations: 237.2 kB / 0.8072 GB, free: 119.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00686/1.18, allocations: 5.802 MB / 0.8129 GB, free: 114 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/1.181, allocations: 1.855 MB / 0.8147 GB, free: 112.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007564/1.182, allocations: 358.4 kB / 0.815 GB, free: 111.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/1.182, allocations: 59.44 kB / 0.8151 GB, free: 111.7 MB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/1.182, allocations: 0 / 0.8151 GB, free: 111.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.06985/1.252, allocations: 59.86 MB / 0.8735 GB, free: 52.07 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (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 & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)