Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 119 kB / 16.42 MB, free: 6.473 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.001066/0.001066, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.355/1.355, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002183/0.002183, allocations: 293.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9378/0.9378, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003471/0.003471, allocations: 99.84 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5324/0.5359, allocations: 86.97 MB / 0.767 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005135/0.5411, allocations: 3.075 MB / 0.77 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003344/0.5445, allocations: 1.894 MB / 0.7719 GB, free: 15 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.5447, allocations: 7.938 kB / 0.7719 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009563/0.5457, allocations: 282.1 kB / 0.7722 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005868/0.5463, allocations: 199.1 kB / 0.7724 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007027/0.547, allocations: 247.2 kB / 0.7726 GB, free: 14.28 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004999/0.5475, allocations: 322.7 kB / 0.7729 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003849/0.5479, allocations: 185 kB / 0.7731 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002653/0.5482, allocations: 135.5 kB / 0.7732 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000386/0.5486, allocations: 147.5 kB / 0.7733 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.713e-05/0.5487, allocations: 20 kB / 0.7734 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006957/0.5494, allocations: 403.2 kB / 0.7737 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.5495, allocations: 87.72 kB / 0.7738 GB, free: 13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.5496, allocations: 123.4 kB / 0.774 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007525/0.5504, allocations: 489.2 kB / 0.7744 GB, free: 12.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5504, allocations: 0 / 0.7744 GB, free: 12.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.456e-06/0.5504, allocations: 0 / 0.7744 GB, free: 12.4 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.5504, allocations: 3.938 kB / 0.7744 GB, free: 12.4 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009676/0.5514, allocations: 0.5576 MB / 0.775 GB, free: 11.79 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.5515, allocations: 8.031 kB / 0.775 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008566/0.5523, allocations: 112.5 kB / 0.7751 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.5527, allocations: 270.6 kB / 0.7753 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.5527, allocations: 12.81 kB / 0.7754 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.5527, allocations: 20.31 kB / 0.7754 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005514/0.5533, allocations: 361.4 kB / 0.7757 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.5533, allocations: 0 / 0.7757 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.5533, allocations: 12 kB / 0.7757 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.186e-05/0.5534, allocations: 20.42 kB / 0.7757 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.5539, allocations: 301.4 kB / 0.776 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/0.556, allocations: 1.726 MB / 0.7777 GB, free: 8.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000472/0.5565, allocations: 330.1 kB / 0.778 GB, free: 8.391 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.5566, allocations: 97.67 kB / 0.7781 GB, free: 8.289 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.5567, allocations: 93.03 kB / 0.7782 GB, free: 8.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.5568, allocations: 38.56 kB / 0.7783 GB, free: 8.133 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.5568, allocations: 4 kB / 0.7783 GB, free: 8.129 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.002447/0.5592, allocations: 0.9705 MB / 0.7792 GB, free: 7.125 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.5593, allocations: 85.05 kB / 0.7793 GB, free: 7.023 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.5595, allocations: 207.8 kB / 0.7795 GB, free: 6.809 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.5596, allocations: 29.7 kB / 0.7795 GB, free: 6.773 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.5597, allocations: 172.1 kB / 0.7797 GB, free: 6.602 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.934e-05/0.5597, allocations: 74.86 kB / 0.7797 GB, free: 6.527 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.5599, allocations: 65.59 kB / 0.7798 GB, free: 6.457 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.56, allocations: 330.8 kB / 0.7801 GB, free: 6.125 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.5602, allocations: 135.9 kB / 0.7803 GB, free: 5.992 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.5604, allocations: 205.3 kB / 0.7805 GB, free: 5.758 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004514/0.5609, allocations: 367.6 kB / 0.7808 GB, free: 5.367 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.5609, allocations: 4 kB / 0.7808 GB, free: 5.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008542/0.5617, allocations: 0.5074 MB / 0.7813 GB, free: 4.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5618, allocations: 12.03 kB / 0.7813 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.5618, allocations: 0 / 0.7813 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000518/0.5623, allocations: 151.3 kB / 0.7815 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.5626, allocations: 59.91 kB / 0.7815 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003048/0.5656, allocations: 4.194 MB / 0.7856 GB, free: 84 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.5659, allocations: 19.98 kB / 0.7856 GB, free: 64 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.5659, allocations: 20.14 kB / 0.7856 GB, free: 44 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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): 28 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001896/0.5661, allocations: 162.4 kB / 0.7858 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.292e-05/0.5662, allocations: 19.81 kB / 0.7858 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008433/0.567, allocations: 482.4 kB / 0.7863 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.567, allocations: 4 kB / 0.7863 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.567, allocations: 0 / 0.7863 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.5672, allocations: 120.9 kB / 0.7864 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.5672, allocations: 0 / 0.7864 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.5674, allocations: 19.97 kB / 0.7864 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.5675, allocations: 23.97 kB / 0.7864 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001033/0.5685, allocations: 0.6197 MB / 0.787 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007642/0.5693, allocations: 0.7318 MB / 0.7878 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001936/0.5695, allocations: 143.6 kB / 0.7879 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001447/0.5697, allocations: 158.1 kB / 0.788 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of Backend: time 4.91e-07/0.5697, allocations: 0 / 0.788 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001617/0.5713, allocations: 0.7337 MB / 0.7888 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001152/0.5725, allocations: 1.012 MB / 0.7898 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.01044/0.5829, allocations: 5.682 MB / 0.7953 GB, free: 6.035 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)