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.00146/0.00146, allocations: 101.6 kB / 16.26 MB, free: 5.934 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.001534/0.001534, allocations: 186.9 kB / 17.2 MB, free: 5.574 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.488/1.488, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7766/0.7766, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.91 kB / 0.4911 GB, free: 7.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.379, allocations: 77.93 MB / 0.5672 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01092/0.3899, allocations: 10.06 MB / 0.577 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004888/0.3948, allocations: 3.178 MB / 0.5801 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007838/0.3957, allocations: 39.34 kB / 0.5802 GB, free: 23.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.3972, allocations: 0.5956 MB / 0.5808 GB, free: 23.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.3989, allocations: 0.7368 MB / 0.5815 GB, free: 22.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.4005, allocations: 0.7492 MB / 0.5822 GB, free: 22.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002752/0.4033, allocations: 2.994 MB / 0.5851 GB, free: 20.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00265/0.406, allocations: 2.605 MB / 0.5877 GB, free: 19.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001676/0.4077, allocations: 1.252 MB / 0.5889 GB, free: 19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/0.4094, allocations: 1.554 MB / 0.5904 GB, free: 18.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004023/0.4098, allocations: 235.8 kB / 0.5906 GB, free: 18.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.4109, allocations: 0.5002 MB / 0.5911 GB, free: 17.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008151/0.4117, allocations: 1.069 MB / 0.5922 GB, free: 17.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009901/0.4127, allocations: 1.12 MB / 0.5933 GB, free: 16.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002928/0.4156, allocations: 3.665 MB / 0.5969 GB, free: 12.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4156, allocations: 4 kB / 0.5969 GB, free: 12.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4157, allocations: 0 / 0.5969 GB, free: 12.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.237e-05/0.4157, allocations: 0 / 0.5969 GB, free: 12.41 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.003522/0.4193, allocations: 2.142 MB / 0.5989 GB, free: 10.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.4193, allocations: 8.031 kB / 0.599 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008699/0.428, allocations: 1.309 MB / 0.6002 GB, free: 8.887 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/0.4306, allocations: 1.263 MB / 0.6015 GB, free: 7.578 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.949e-05/0.4307, allocations: 111.4 kB / 0.6016 GB, free: 7.469 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004298/0.4312, allocations: 144.3 kB / 0.6017 GB, free: 7.328 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004691/0.4359, allocations: 3.441 MB / 0.6051 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.675e-05/0.4359, allocations: 3.906 kB / 0.6051 GB, free: 3.785 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/0.4361, allocations: 67.95 kB / 0.6051 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001861/0.4363, allocations: 203.1 kB / 0.6053 GB, free: 3.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003944/0.4403, allocations: 3.131 MB / 0.6084 GB, free: 392 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01755/0.4578, allocations: 13.61 MB / 0.6217 GB, free: 1.887 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/0.4603, allocations: 1.735 MB / 0.6234 GB, free: 148 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001924/0.4622, allocations: 1.436 MB / 0.6248 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.768e-05/0.4623, allocations: 12.94 kB / 0.6248 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.4623, allocations: 43.56 kB / 0.6248 GB, free: 14.64 MB / 478.1 MB Notification: Performance of pre-optimization done (n=104): time 2.815e-06/0.4624, allocations: 0 / 0.6248 GB, free: 14.64 MB / 478.1 MB Notification: Performance of matching and sorting (n=183): time 0.1467/0.609, allocations: 36.67 MB / 0.6606 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.6091, allocations: 69.41 kB / 0.6607 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.6106, allocations: 1.057 MB / 0.6617 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003658/0.611, allocations: 53.7 kB / 0.6618 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006576/0.6117, allocations: 0.7912 MB / 0.6626 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009614/0.6127, allocations: 0.6161 MB / 0.6632 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001069/0.6137, allocations: 367.3 kB / 0.6635 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.6139, allocations: 301.1 kB / 0.6638 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002955/0.6169, allocations: 1.928 MB / 0.6657 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003125/0.62, allocations: 2.289 MB / 0.6679 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006324/0.6264, allocations: 4.391 MB / 0.6722 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.613e-05/0.6264, allocations: 4 kB / 0.6722 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02134/0.6478, allocations: 9.022 MB / 0.681 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.6479, allocations: 15.94 kB / 0.681 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.6479, allocations: 8 kB / 0.681 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01694/0.6648, allocations: 5.004 MB / 0.6859 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009203/0.6658, allocations: 199.6 kB / 0.6861 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05823/0.724, allocations: 38.92 MB / 0.7241 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/0.7264, allocations: 103.9 kB / 0.7242 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004311/0.7268, allocations: 64 kB / 0.7243 GB, free: 7.703 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.001721/0.7285, allocations: 0.8056 MB / 0.7251 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006468/0.7292, allocations: 142.3 kB / 0.7252 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02023/0.7494, allocations: 8.886 MB / 0.7339 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.62e-05/0.7495, allocations: 23.92 kB / 0.7339 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001042/0.7496, allocations: 36 kB / 0.734 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-05/0.7497, allocations: 7.969 kB / 0.734 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02901/0.7787, allocations: 13.29 MB / 0.7469 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-05/0.7788, allocations: 4 kB / 0.7469 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00056/0.7794, allocations: 119.8 kB / 0.7471 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3336/1.113, allocations: 4.797 MB / 0.7517 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003618/1.113, allocations: 36.41 kB / 0.7518 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05023/1.164, allocations: 34.85 MB / 0.7858 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.164, allocations: 7.719 kB / 0.7858 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01673/1.18, allocations: 8.402 MB / 0.794 GB, free: 133.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/1.182, allocations: 0.6229 MB / 0.7946 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005073/1.182, allocations: 32 kB / 0.7947 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/1.184, allocations: 91.89 kB / 0.7948 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001033/1.185, allocations: 171 kB / 0.7949 GB, free: 132.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/1.185, allocations: 50.2 kB / 0.795 GB, free: 132.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001024/1.186, allocations: 0.7343 MB / 0.7957 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.186, allocations: 0 / 0.7957 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003606/1.19, allocations: 1.008 MB / 0.7967 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.0003466/1.19, allocations: 138.4 kB / 0.7968 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01043/1.2, allocations: 6.697 MB / 0.8033 GB, free: 124 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/1.2, allocations: 0 / 0.8033 GB, free: 124 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006823/1.207, allocations: 3.843 MB / 0.8071 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.001721/1.209, allocations: 241 kB / 0.8073 GB, free: 119.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00723/1.216, allocations: 4.976 MB / 0.8122 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/1.218, allocations: 1.855 MB / 0.814 GB, free: 113 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007437/1.219, allocations: 356.5 kB / 0.8143 GB, free: 112.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/1.219, allocations: 59.44 kB / 0.8144 GB, free: 112.6 MB / 0.5762 GB Notification: Performance of SimCode: time 9.71e-07/1.219, allocations: 0 / 0.8144 GB, free: 112.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.06583/1.285, allocations: 59.14 MB / 0.8721 GB, free: 53.66 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)