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.0007855/0.0007852, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008176/0.0008176, allocations: 186.6 kB / 16.92 MB, free: 6.891 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.378/1.378, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6895/0.6895, allocations: 115.5 MB / 407.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.000353, allocations: 8 kB / 495.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.17, allocations: 77.54 MB / 0.56 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01195/0.182, allocations: 9.569 MB / 0.5693 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006206/0.1882, allocations: 3.143 MB / 0.5724 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009615/0.1892, allocations: 27.81 kB / 0.5724 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006828/0.1899, allocations: 182.6 kB / 0.5726 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.1919, allocations: 0.7042 MB / 0.5733 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.1937, allocations: 0.6397 MB / 0.5739 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005149/0.1988, allocations: 4.486 MB / 0.5783 GB, free: 6.242 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0047/0.2035, allocations: 3.146 MB / 0.5814 GB, free: 3.039 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001854/0.2054, allocations: 0.9378 MB / 0.5823 GB, free: 2.098 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002636/0.2081, allocations: 1.449 MB / 0.5837 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005321/0.2086, allocations: 112 kB / 0.5838 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.2102, allocations: 467.2 kB / 0.5842 GB, free: 80 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.301/0.5112, allocations: 0.9192 MB / 0.5851 GB, free: 16.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001744/0.513, allocations: 0.9687 MB / 0.5861 GB, free: 16.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005322/0.5183, allocations: 3.53 MB / 0.5895 GB, free: 16.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5183, allocations: 0.75 kB / 0.5895 GB, free: 16.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5183, allocations: 0.7812 kB / 0.5895 GB, free: 16.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001004/0.5184, allocations: 0.5938 kB / 0.5895 GB, free: 16.2 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.004899/0.5233, allocations: 1.762 MB / 0.5912 GB, free: 15.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.5234, allocations: 9.219 kB / 0.5913 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009637/0.533, allocations: 1.321 MB / 0.5925 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002619/0.5357, allocations: 1.253 MB / 0.5938 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.5358, allocations: 110.2 kB / 0.5939 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004223/0.5362, allocations: 151.1 kB / 0.594 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006791/0.543, allocations: 3.44 MB / 0.5974 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.192e-05/0.5431, allocations: 9.875 kB / 0.5974 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00025/0.5433, allocations: 65.92 kB / 0.5975 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003342/0.5437, allocations: 209.1 kB / 0.5977 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005547/0.5492, allocations: 3.129 MB / 0.6007 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01765/0.5669, allocations: 13.58 MB / 0.614 GB, free: 5.465 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/0.5693, allocations: 1.733 MB / 0.6157 GB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/0.5712, allocations: 1.431 MB / 0.6171 GB, free: 3.891 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.83e-05/0.5713, allocations: 10.91 kB / 0.6171 GB, free: 3.891 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.5713, allocations: 51.23 kB / 0.6171 GB, free: 3.836 MB / 446.1 MB Notification: Performance of pre-optimization done (n=104): time 3.116e-06/0.5713, allocations: 0 / 0.6171 GB, free: 3.836 MB / 446.1 MB Notification: Performance of matching and sorting (n=183): time 0.1507/0.722, allocations: 35.96 MB / 0.6522 GB, free: 5.676 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.7222, allocations: 73.41 kB / 0.6523 GB, free: 5.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002102/0.7243, allocations: 1.046 MB / 0.6533 GB, free: 4.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004475/0.7247, allocations: 61.7 kB / 0.6534 GB, free: 4.453 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008332/0.7256, allocations: 0.7882 MB / 0.6542 GB, free: 3.656 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001049/0.7266, allocations: 0.6267 MB / 0.6548 GB, free: 3.035 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004379/0.7271, allocations: 153.6 kB / 0.6549 GB, free: 2.879 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.7272, allocations: 305.1 kB / 0.6552 GB, free: 2.578 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003027/0.7303, allocations: 1.928 MB / 0.6571 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003235/0.7335, allocations: 2.287 MB / 0.6593 GB, free: 14.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006294/0.7398, allocations: 4.391 MB / 0.6636 GB, free: 9.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-05/0.7398, allocations: 4 kB / 0.6636 GB, free: 9.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02153/0.7614, allocations: 9.023 MB / 0.6724 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.829e-05/0.7615, allocations: 11.94 kB / 0.6724 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/0.7615, allocations: 8 kB / 0.6724 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01784/0.7793, allocations: 4.973 MB / 0.6773 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.7804, allocations: 194.2 kB / 0.6775 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0624/0.8429, allocations: 35.15 MB / 0.7118 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/0.8456, allocations: 103.5 kB / 0.7119 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000686/0.8463, allocations: 68 kB / 0.712 GB, free: 7.914 MB / 0.5294 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.002555/0.8489, allocations: 0.8167 MB / 0.7128 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006397/0.8496, allocations: 138.3 kB / 0.7129 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0231/0.8727, allocations: 8.893 MB / 0.7216 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.722e-05/0.8727, allocations: 20 kB / 0.7216 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000108/0.8729, allocations: 28 kB / 0.7216 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.914e-05/0.8729, allocations: 7.969 kB / 0.7216 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03005/0.9029, allocations: 13.27 MB / 0.7346 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.903, allocations: 8.062 kB / 0.7346 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005042/0.9035, allocations: 123.8 kB / 0.7347 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01754/0.9211, allocations: 4.758 MB / 0.7394 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004127/0.9215, allocations: 28 kB / 0.7394 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05486/0.9764, allocations: 31.45 MB / 0.7701 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.969e-06/0.9764, allocations: 11.88 kB / 0.7701 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02172/0.9981, allocations: 8.396 MB / 0.7783 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001918/1, allocations: 0.6202 MB / 0.7789 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007935/1.001, allocations: 39.98 kB / 0.779 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001905/1.003, allocations: 95.89 kB / 0.7791 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009818/1.004, allocations: 161.4 kB / 0.7792 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002259/1.004, allocations: 44 kB / 0.7792 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001514/1.006, allocations: 0.7382 MB / 0.78 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.11e-07/1.006, allocations: 0 / 0.78 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004588/1.01, allocations: 1.008 MB / 0.781 GB, free: 0.5859 MB / 0.5919 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.000416/1.011, allocations: 151 kB / 0.7811 GB, free: 440 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01048/1.021, allocations: 5.832 MB / 0.7868 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.021, allocations: 0 / 0.7868 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.008181/1.029, allocations: 3.792 MB / 0.7905 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002431/1.032, allocations: 227.3 kB / 0.7907 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009649/1.041, allocations: 5.819 MB / 0.7964 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002496/1.044, allocations: 1.855 MB / 0.7982 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009244/1.045, allocations: 351.4 kB / 0.7985 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/1.045, allocations: 59.44 kB / 0.7986 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of SimCode: time 9.42e-07/1.045, allocations: 0 / 0.7986 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of Templates: time 0.366/1.411, allocations: 55.46 MB / 0.8528 GB, free: 209.8 MB / 0.6387 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)