Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 113.1 kB / 17.09 MB, free: 5.961 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.001611/0.001611, allocations: 193.5 kB / 18.02 MB, free: 5.047 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.398/1.398, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7676/0.7676, allocations: 122.9 MB / 414.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 64.59 kB / 0.5691 GB, free: 28.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1666, allocations: 77.94 MB / 0.6452 GB, free: 9.078 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.009299/0.176, allocations: 5.061 MB / 0.6502 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006043/0.1821, allocations: 3.366 MB / 0.6534 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003542/0.1824, allocations: 11.94 kB / 0.6534 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.1841, allocations: 0.5085 MB / 0.6539 GB, free: 100 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.1852, allocations: 398.7 kB / 0.6543 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007657/0.186, allocations: 267.4 kB / 0.6546 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001038/0.1871, allocations: 0.6502 MB / 0.6552 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009576/0.188, allocations: 0.5248 MB / 0.6557 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006024/0.1887, allocations: 291.1 kB / 0.656 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007947/0.1895, allocations: 295 kB / 0.6563 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.1896, allocations: 48 kB / 0.6563 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008249/0.1905, allocations: 307.5 kB / 0.6566 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002932/0.1908, allocations: 171.6 kB / 0.6568 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004422/0.1912, allocations: 242.9 kB / 0.657 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.1927, allocations: 0.8258 MB / 0.6578 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.1927, allocations: 4 kB / 0.6578 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.717e-06/0.1927, allocations: 0 / 0.6578 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.475e-05/0.1927, allocations: 3.938 kB / 0.6578 GB, free: 12.11 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.002203/0.1949, allocations: 0.7987 MB / 0.6586 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.195, allocations: 8.031 kB / 0.6586 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003158/0.1982, allocations: 0.679 MB / 0.6593 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.1993, allocations: 471.8 kB / 0.6597 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.1993, allocations: 28.95 kB / 0.6598 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.1994, allocations: 32.12 kB / 0.6598 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.2013, allocations: 0.8395 MB / 0.6606 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.2014, allocations: 3.938 kB / 0.6606 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.146e-05/0.2015, allocations: 12 kB / 0.6606 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001934/0.2017, allocations: 64.52 kB / 0.6607 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/0.2041, allocations: 0.9312 MB / 0.6616 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004587/0.2087, allocations: 2.851 MB / 0.6644 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.2105, allocations: 0.5536 MB / 0.6649 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008132/0.2114, allocations: 312.6 kB / 0.6652 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.2115, allocations: 85.11 kB / 0.6653 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.2115, allocations: 38.55 kB / 0.6653 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 2.495e-06/0.2116, allocations: 0 / 0.6653 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.01369/0.2252, allocations: 3.505 MB / 0.6688 GB, free: 496 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.2253, allocations: 55.41 kB / 0.6688 GB, free: 428 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005716/0.2259, allocations: 400.4 kB / 0.6692 GB, free: 16 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.632e-05/0.226, allocations: 29.7 kB / 0.6692 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.2262, allocations: 227.9 kB / 0.6694 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.2263, allocations: 118.4 kB / 0.6696 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.2265, allocations: 81.58 kB / 0.6696 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.2267, allocations: 346.8 kB / 0.67 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.2277, allocations: 392.5 kB / 0.6703 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.2288, allocations: 468.2 kB / 0.6708 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002123/0.231, allocations: 0.8386 MB / 0.6716 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.231, allocations: 0 / 0.6716 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005747/0.2367, allocations: 1.658 MB / 0.6732 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.2368, allocations: 4 kB / 0.6732 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.2368, allocations: 7.938 kB / 0.6732 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004176/0.241, allocations: 0.8725 MB / 0.6741 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007711/0.2418, allocations: 127.8 kB / 0.6742 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009433/0.2512, allocations: 6.684 MB / 0.6807 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009144/0.2522, allocations: 103.8 kB / 0.6808 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/0.2523, allocations: 23.92 kB / 0.6809 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001347/0.2536, allocations: 0.5778 MB / 0.6814 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001088/0.2547, allocations: 460.2 kB / 0.6819 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002066/0.2568, allocations: 0.8077 MB / 0.6827 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.579e-06/0.2568, allocations: 0 / 0.6827 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.005146/0.262, allocations: 1.634 MB / 0.6842 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.262, allocations: 7.938 kB / 0.6843 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.262, allocations: 4 kB / 0.6843 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002779/0.2648, allocations: 0.6432 MB / 0.6849 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000739/0.2656, allocations: 135.8 kB / 0.685 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007559/0.2731, allocations: 7.289 MB / 0.6921 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009083/0.2741, allocations: 103.8 kB / 0.6922 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.732e-05/0.2741, allocations: 16.06 kB / 0.6922 GB, free: 7.184 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002193/0.2744, allocations: 207.5 kB / 0.6924 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.2745, allocations: 35.56 kB / 0.6925 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005335/0.2798, allocations: 1.552 MB / 0.694 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.2799, allocations: 0 / 0.694 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2799, allocations: 0 / 0.694 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003361/0.2802, allocations: 168.7 kB / 0.6942 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.902e-05/0.2803, allocations: 11.91 kB / 0.6942 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006701/0.281, allocations: 83.86 kB / 0.6942 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.2812, allocations: 35.94 kB / 0.6943 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004062/0.2852, allocations: 1.307 MB / 0.6956 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002536/0.2878, allocations: 1.233 MB / 0.6968 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007752/0.2886, allocations: 356.2 kB / 0.6971 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004239/0.289, allocations: 299.1 kB / 0.6974 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of Backend: time 4e-07/0.289, allocations: 4 kB / 0.6974 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004937/0.294, allocations: 2.128 MB / 0.6995 GB, free: 15.61 MB / 0.545 GB Notification: Performance of SimCode: time 0.001981/0.296, allocations: 1.513 MB / 0.7009 GB, free: 14.06 MB / 0.545 GB Notification: Performance of Templates: time 0.02637/0.3224, allocations: 17.35 MB / 0.7179 GB, free: 12.78 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)