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.001544/0.001544, allocations: 95.36 kB / 16.26 MB, free: 5.938 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.001773/0.001773, allocations: 190.8 kB / 17.2 MB, free: 5.578 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.352/1.352, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7768/0.7768, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 59.91 kB / 0.4911 GB, free: 7.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3379, allocations: 77.94 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01012/0.348, allocations: 10.06 MB / 0.5771 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005091/0.3532, allocations: 3.174 MB / 0.5802 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00081/0.354, allocations: 38.91 kB / 0.5802 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.3557, allocations: 0.5927 MB / 0.5808 GB, free: 23.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.3575, allocations: 0.7351 MB / 0.5815 GB, free: 22.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.3593, allocations: 0.744 MB / 0.5822 GB, free: 22.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003055/0.3624, allocations: 2.993 MB / 0.5852 GB, free: 20.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002803/0.3652, allocations: 2.615 MB / 0.5877 GB, free: 19.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/0.3673, allocations: 1.251 MB / 0.5889 GB, free: 19.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002127/0.3694, allocations: 1.555 MB / 0.5904 GB, free: 18.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004521/0.3699, allocations: 235.2 kB / 0.5907 GB, free: 18.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.3711, allocations: 0.5003 MB / 0.5912 GB, free: 18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008624/0.372, allocations: 1.081 MB / 0.5922 GB, free: 17.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008939/0.3729, allocations: 1.112 MB / 0.5933 GB, free: 16.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002328/0.3752, allocations: 3.661 MB / 0.5969 GB, free: 12.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3753, allocations: 0 / 0.5969 GB, free: 12.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3753, allocations: 0 / 0.5969 GB, free: 12.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.925e-05/0.3753, allocations: 0 / 0.5969 GB, free: 12.37 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.003125/0.3784, allocations: 2.146 MB / 0.599 GB, free: 10.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3785, allocations: 8.031 kB / 0.599 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008518/0.387, allocations: 1.317 MB / 0.6003 GB, free: 8.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.3893, allocations: 1.255 MB / 0.6015 GB, free: 7.539 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.947e-05/0.3894, allocations: 111.4 kB / 0.6016 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003764/0.3897, allocations: 144.3 kB / 0.6017 GB, free: 7.289 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004377/0.3941, allocations: 3.445 MB / 0.6051 GB, free: 3.746 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-05/0.3942, allocations: 3.906 kB / 0.6051 GB, free: 3.742 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001982/0.3944, allocations: 63.97 kB / 0.6052 GB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000207/0.3946, allocations: 203.1 kB / 0.6054 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00399/0.3986, allocations: 3.131 MB / 0.6084 GB, free: 352 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01665/0.4153, allocations: 13.61 MB / 0.6217 GB, free: 1.844 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/0.4178, allocations: 1.731 MB / 0.6234 GB, free: 108 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001987/0.4198, allocations: 1.436 MB / 0.6248 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.146e-05/0.4199, allocations: 12.98 kB / 0.6248 GB, free: 14.65 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.4199, allocations: 47.5 kB / 0.6249 GB, free: 14.59 MB / 478.1 MB Notification: Performance of pre-optimization done (n=104): time 2.976e-06/0.4199, allocations: 0 / 0.6249 GB, free: 14.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=183): time 0.1517/0.5716, allocations: 36.66 MB / 0.6607 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.5717, allocations: 77.39 kB / 0.6607 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.5732, allocations: 1.057 MB / 0.6618 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002848/0.5735, allocations: 49.7 kB / 0.6618 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005007/0.574, allocations: 0.795 MB / 0.6626 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006738/0.5747, allocations: 0.6122 MB / 0.6632 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008239/0.5755, allocations: 367.3 kB / 0.6635 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.553e-05/0.5756, allocations: 309.1 kB / 0.6638 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002785/0.5784, allocations: 1.928 MB / 0.6657 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00298/0.5814, allocations: 2.285 MB / 0.668 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006046/0.5875, allocations: 4.388 MB / 0.6722 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.5875, allocations: 8 kB / 0.6722 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02131/0.6088, allocations: 9.018 MB / 0.6811 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.6089, allocations: 15.94 kB / 0.6811 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/0.6089, allocations: 8 kB / 0.6811 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01754/0.6265, allocations: 5.002 MB / 0.686 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008748/0.6274, allocations: 199.6 kB / 0.6862 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05745/0.6848, allocations: 38.93 MB / 0.7242 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002242/0.6871, allocations: 99.89 kB / 0.7243 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002355/0.6874, allocations: 68 kB / 0.7243 GB, free: 7.66 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.001566/0.6889, allocations: 0.8134 MB / 0.7251 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003758/0.6893, allocations: 142.3 kB / 0.7253 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02004/0.7094, allocations: 8.886 MB / 0.7339 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/0.7094, allocations: 16 kB / 0.7339 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-05/0.7095, allocations: 31.94 kB / 0.734 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-05/0.7095, allocations: 11.97 kB / 0.734 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0265/0.736, allocations: 13.3 MB / 0.747 GB, free: 260 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/0.7361, allocations: 4 kB / 0.747 GB, free: 256 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004927/0.7366, allocations: 115.9 kB / 0.7471 GB, free: 140 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3023/1.039, allocations: 4.786 MB / 0.7518 GB, free: 155 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003737/1.039, allocations: 36.53 kB / 0.7518 GB, free: 155 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04673/1.086, allocations: 34.86 MB / 0.7858 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.086, allocations: 10.86 kB / 0.7859 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01677/1.103, allocations: 8.403 MB / 0.7941 GB, free: 133.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/1.104, allocations: 0.6172 MB / 0.7947 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002879/1.104, allocations: 31.98 kB / 0.7947 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/1.106, allocations: 91.89 kB / 0.7948 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009229/1.107, allocations: 164 kB / 0.7949 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/1.107, allocations: 40 kB / 0.795 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008461/1.108, allocations: 0.7411 MB / 0.7957 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.1e-07/1.108, allocations: 0 / 0.7957 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002732/1.11, allocations: 1.008 MB / 0.7967 GB, free: 130.7 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.0002593/1.111, allocations: 150.4 kB / 0.7968 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009078/1.12, allocations: 6.692 MB / 0.8034 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.12, allocations: 3.375 kB / 0.8034 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006874/1.127, allocations: 3.849 MB / 0.8071 GB, free: 120 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/1.128, allocations: 241.8 kB / 0.8074 GB, free: 119.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006541/1.135, allocations: 4.971 MB / 0.8122 GB, free: 114.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/1.136, allocations: 1.855 MB / 0.814 GB, free: 112.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007626/1.137, allocations: 364.8 kB / 0.8144 GB, free: 112.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/1.137, allocations: 55.44 kB / 0.8144 GB, free: 112.5 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/1.137, allocations: 0 / 0.8144 GB, free: 112.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.06385/1.201, allocations: 59.13 MB / 0.8722 GB, free: 53.55 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)