Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.001411, allocations: 117.3 kB / 17.09 MB, free: 6.012 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.00172/0.00172, allocations: 195 kB / 18.02 MB, free: 5.094 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.475/1.475, allocations: 222.9 MB / 241.7 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.7435/0.7435, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 59.39 kB / 0.5584 GB, free: 32.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1494, allocations: 76.18 MB / 0.6328 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.033/0.1824, allocations: 30.74 MB / 0.6628 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02223/0.2046, allocations: 13.6 MB / 0.6761 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003621/0.2083, allocations: 143.2 kB / 0.6762 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.008553/0.2169, allocations: 3.198 MB / 0.6793 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008356/0.2253, allocations: 2.664 MB / 0.6819 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006378/0.2317, allocations: 2.014 MB / 0.6839 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01034/0.242, allocations: 7.624 MB / 0.6913 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01167/0.2538, allocations: 8.225 MB / 0.6994 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00628/0.2601, allocations: 3.474 MB / 0.7028 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006114/0.2662, allocations: 3.376 MB / 0.7061 GB, free: 8.984 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002242/0.2685, allocations: 0.6016 MB / 0.7066 GB, free: 8.383 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004681/0.2732, allocations: 1.502 MB / 0.7081 GB, free: 6.879 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003915/0.2771, allocations: 2.354 MB / 0.7104 GB, free: 4.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.006506/0.2836, allocations: 2.878 MB / 0.7132 GB, free: 1.629 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01335/0.297, allocations: 9.469 MB / 0.7225 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.2971, allocations: 4 kB / 0.7225 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2971, allocations: 0 / 0.7225 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003397/0.2974, allocations: 0 / 0.7225 GB, free: 8.129 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01417/0.3116, allocations: 5.132 MB / 0.7275 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.3117, allocations: 12.03 kB / 0.7275 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006476/0.3182, allocations: 0.998 MB / 0.7285 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006496/0.3247, allocations: 3.071 MB / 0.7315 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002639/0.325, allocations: 320.8 kB / 0.7318 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001341/0.3264, allocations: 424 kB / 0.7322 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01381/0.3402, allocations: 6.792 MB / 0.7388 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001405/0.3404, allocations: 15.92 kB / 0.7388 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006783/0.341, allocations: 191.9 kB / 0.739 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008651/0.3419, allocations: 368 kB / 0.7394 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/0.3522, allocations: 5.114 MB / 0.7443 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4331/0.7853, allocations: 30.5 MB / 0.7741 GB, free: 74.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003589/0.789, allocations: 1.394 MB / 0.7755 GB, free: 74.14 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003357/0.7924, allocations: 1.328 MB / 0.7768 GB, free: 73.47 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000212/0.7927, allocations: 16.78 kB / 0.7768 GB, free: 73.47 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.476e-05/0.7927, allocations: 54.56 kB / 0.7769 GB, free: 73.42 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=130): time 7.854e-06/0.7928, allocations: 0 / 0.7769 GB, free: 73.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=199): time 0.08511/0.8779, allocations: 23.08 MB / 0.7994 GB, free: 60.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.878, allocations: 73.41 kB / 0.7995 GB, free: 60 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002704/0.8807, allocations: 2.062 MB / 0.8015 GB, free: 57.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003337/0.881, allocations: 61.7 kB / 0.8015 GB, free: 57.86 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008188/0.8819, allocations: 2.01 MB / 0.8035 GB, free: 55.83 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005355/0.8824, allocations: 0.673 MB / 0.8042 GB, free: 55.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005927/0.883, allocations: 416.1 kB / 0.8046 GB, free: 54.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.415e-05/0.8831, allocations: 305.1 kB / 0.8049 GB, free: 54.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00158/0.8846, allocations: 1.43 MB / 0.8062 GB, free: 53.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.8864, allocations: 2.013 MB / 0.8082 GB, free: 50.76 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003515/0.89, allocations: 3.696 MB / 0.8118 GB, free: 46.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.89, allocations: 4 kB / 0.8118 GB, free: 46.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009119/0.8991, allocations: 5.657 MB / 0.8174 GB, free: 41.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.8992, allocations: 15.94 kB / 0.8174 GB, free: 41.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.8992, allocations: 16.88 kB / 0.8174 GB, free: 41.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00585/0.905, allocations: 2.089 MB / 0.8194 GB, free: 38.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.9066, allocations: 379 kB / 0.8198 GB, free: 38.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02908/0.9357, allocations: 38.42 MB / 0.8573 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/0.9384, allocations: 129.7 kB / 0.8574 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002285/0.9386, allocations: 95.94 kB / 0.8575 GB, free: 13.45 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002627/0.9412, allocations: 1.515 MB / 0.859 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005859/0.9418, allocations: 284.6 kB / 0.8593 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/0.9523, allocations: 5.211 MB / 0.8644 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.229e-05/0.9523, allocations: 24 kB / 0.8644 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.537e-05/0.9524, allocations: 20 kB / 0.8644 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-05/0.9524, allocations: 7.969 kB / 0.8644 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01839/0.9708, allocations: 9.677 MB / 0.8739 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.9709, allocations: 4 kB / 0.8739 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009095/0.9718, allocations: 215.2 kB / 0.8741 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005762/0.9776, allocations: 1.846 MB / 0.8759 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002561/0.9779, allocations: 40 kB / 0.8759 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03784/1.016, allocations: 37.45 MB / 0.9125 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/1.016, allocations: 12.06 kB / 0.9125 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009081/1.025, allocations: 4.912 MB / 0.9173 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/1.027, allocations: 0.6109 MB / 0.9179 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005809/1.027, allocations: 39.98 kB / 0.9179 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/1.029, allocations: 131.8 kB / 0.9181 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006591/1.029, allocations: 196.9 kB / 0.9182 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/1.03, allocations: 56 kB / 0.9183 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00208/1.032, allocations: 1.378 MB / 0.9196 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.8e-07/1.032, allocations: 0 / 0.9196 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003775/1.035, allocations: 1.047 MB / 0.9207 GB, free: 9.824 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003758/1.036, allocations: 171 kB / 0.9208 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01011/1.046, allocations: 6.296 MB / 0.927 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/1.046, allocations: 4 kB / 0.927 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006897/1.053, allocations: 4.402 MB / 0.9313 GB, free: 14.51 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00454/1.058, allocations: 0.9849 MB / 0.9322 GB, free: 13.57 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/1.073, allocations: 8.596 MB / 0.9406 GB, free: 4.914 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003797/1.077, allocations: 3.182 MB / 0.9437 GB, free: 1.699 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007249/1.077, allocations: 163.4 kB / 0.9439 GB, free: 1.539 MB / 0.67 GB Notification: Performance of SimCode: time 8.42e-07/1.077, allocations: 0 / 0.9439 GB, free: 1.539 MB / 0.67 GB Notification: Performance of Templates: time 1.007/2.084, allocations: 464.9 MB / 1.398 GB, free: 215.6 MB / 0.7794 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)