Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 106.2 kB / 16.4 MB, free: 6.5 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.001998/0.001998, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.549/1.549, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8556/0.8556, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 59.3 kB / 0.5685 GB, free: 28.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1699, allocations: 77.94 MB / 0.6446 GB, free: 9.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02657/0.1965, allocations: 22.57 MB / 0.6666 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01149/0.2081, allocations: 6.229 MB / 0.6727 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.2103, allocations: 99.5 kB / 0.6728 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004256/0.2146, allocations: 1.539 MB / 0.6743 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004342/0.219, allocations: 1.626 MB / 0.6759 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003388/0.2224, allocations: 1.346 MB / 0.6772 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007001/0.2294, allocations: 5.939 MB / 0.683 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008411/0.2378, allocations: 6.052 MB / 0.6889 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004455/0.2423, allocations: 2.411 MB / 0.6913 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005072/0.2474, allocations: 2.87 MB / 0.6941 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001474/0.2489, allocations: 460 kB / 0.6945 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003672/0.2526, allocations: 1.096 MB / 0.6956 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003984/0.2566, allocations: 2.035 MB / 0.6976 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.006513/0.2631, allocations: 2.163 MB / 0.6997 GB, free: 368 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0125/0.2756, allocations: 7.324 MB / 0.7068 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2757, allocations: 0 / 0.7068 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2757, allocations: 0 / 0.7068 GB, free: 9.012 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002602/0.276, allocations: 0 / 0.7068 GB, free: 9.012 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01001/0.286, allocations: 3.913 MB / 0.7107 GB, free: 5.031 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.286, allocations: 8.625 kB / 0.7107 GB, free: 5.023 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006146/0.2922, allocations: 1.235 MB / 0.7119 GB, free: 3.785 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003951/0.2962, allocations: 2.353 MB / 0.7142 GB, free: 1.375 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.2963, allocations: 242.4 kB / 0.7144 GB, free: 1.137 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005156/0.2969, allocations: 308 kB / 0.7147 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009931/0.3068, allocations: 6.212 MB / 0.7208 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-05/0.3069, allocations: 15.81 kB / 0.7208 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003616/0.3073, allocations: 143.9 kB / 0.7209 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005267/0.3078, allocations: 406.3 kB / 0.7213 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008257/0.3161, allocations: 4.662 MB / 0.7259 GB, free: 5.141 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.417/0.7331, allocations: 28.99 MB / 0.7542 GB, free: 77.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002501/0.7357, allocations: 1.416 MB / 0.7555 GB, free: 77.87 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002345/0.738, allocations: 1.485 MB / 0.757 GB, free: 77.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.7382, allocations: 10.97 kB / 0.757 GB, free: 77.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.7382, allocations: 46.5 kB / 0.757 GB, free: 77.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=110): time 3.277e-06/0.7382, allocations: 0 / 0.757 GB, free: 77.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=179): time 0.1349/0.8731, allocations: 37.29 MB / 0.7935 GB, free: 59.49 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.8732, allocations: 69.41 kB / 0.7935 GB, free: 59.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.8749, allocations: 1.427 MB / 0.7949 GB, free: 57.99 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002462/0.8752, allocations: 57.7 kB / 0.795 GB, free: 57.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006975/0.8759, allocations: 1.58 MB / 0.7965 GB, free: 56.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004452/0.8763, allocations: 0.6387 MB / 0.7971 GB, free: 56.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006141/0.8769, allocations: 391.4 kB / 0.7975 GB, free: 55.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.071e-05/0.877, allocations: 310.8 kB / 0.7978 GB, free: 55.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001883/0.8789, allocations: 1.783 MB / 0.7996 GB, free: 53.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002072/0.881, allocations: 2.354 MB / 0.8019 GB, free: 50.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004126/0.8851, allocations: 4.383 MB / 0.8061 GB, free: 46.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.8851, allocations: 4 kB / 0.8061 GB, free: 46.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01468/0.8998, allocations: 8.569 MB / 0.8145 GB, free: 37.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.8999, allocations: 16.88 kB / 0.8145 GB, free: 37.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.8999, allocations: 19.5 kB / 0.8145 GB, free: 37.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01277/0.9127, allocations: 4.642 MB / 0.8191 GB, free: 33.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.9138, allocations: 303.5 kB / 0.8194 GB, free: 32.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0373/0.9511, allocations: 32.64 MB / 0.8512 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/0.9534, allocations: 148.9 kB / 0.8514 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/0.9536, allocations: 84 kB / 0.8515 GB, free: 15.04 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002131/0.9557, allocations: 1.341 MB / 0.8528 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004565/0.9562, allocations: 206.7 kB / 0.853 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01785/0.9741, allocations: 8.429 MB / 0.8612 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.9741, allocations: 24 kB / 0.8612 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.889e-05/0.9742, allocations: 24 kB / 0.8612 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.309e-05/0.9742, allocations: 11.95 kB / 0.8613 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02451/0.9987, allocations: 12.85 MB / 0.8738 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/0.9988, allocations: 8.031 kB / 0.8738 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007272/0.9995, allocations: 163.8 kB / 0.874 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01433/1.014, allocations: 4.487 MB / 0.8783 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002605/1.014, allocations: 40 kB / 0.8784 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04514/1.059, allocations: 32.23 MB / 0.9099 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.896e-06/1.059, allocations: 11.94 kB / 0.9099 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0171/1.076, allocations: 8.241 MB / 0.9179 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/1.078, allocations: 0.6322 MB / 0.9185 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003548/1.078, allocations: 40 kB / 0.9186 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/1.08, allocations: 135.8 kB / 0.9187 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008245/1.081, allocations: 172.9 kB / 0.9189 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/1.081, allocations: 44.12 kB / 0.9189 GB, free: 8.812 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001268/1.082, allocations: 0.9627 MB / 0.9198 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.5e-07/1.082, allocations: 0 / 0.9198 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003177/1.085, allocations: 1.113 MB / 0.9209 GB, free: 6.742 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003154/1.086, allocations: 160.9 kB / 0.9211 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01262/1.098, allocations: 6.547 MB / 0.9275 GB, free: 15.96 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.098, allocations: 4.125 kB / 0.9275 GB, free: 15.96 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.009183/1.107, allocations: 4.376 MB / 0.9318 GB, free: 11.52 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/1.11, allocations: 0.5353 MB / 0.9323 GB, free: 11.01 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/1.122, allocations: 6.892 MB / 0.939 GB, free: 4.016 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00295/1.125, allocations: 2.719 MB / 0.9417 GB, free: 1.262 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001033/1.126, allocations: 392.6 kB / 0.942 GB, free: 0.875 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/1.126, allocations: 91.44 kB / 0.9421 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of SimCode: time 1.463e-06/1.126, allocations: 0 / 0.9421 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of Templates: time 0.09157/1.218, allocations: 61.12 MB / 1.002 GB, free: 3.949 MB / 0.7325 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)