Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 103.7 kB / 16.94 MB, free: 6.191 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.001504/0.001505, allocations: 191.6 kB / 17.86 MB, free: 5.293 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.383/1.383, allocations: 222.9 MB / 241.6 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7598/0.7598, allocations: 122.8 MB / 414.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 71.89 kB / 0.4918 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3495, allocations: 77.91 MB / 0.5679 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007394/0.3569, allocations: 6.72 MB / 0.5744 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004578/0.3615, allocations: 3.023 MB / 0.5774 GB, free: 26.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004144/0.3619, allocations: 28.75 kB / 0.5774 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.3642, allocations: 0.9438 MB / 0.5783 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.3653, allocations: 0.5058 MB / 0.5788 GB, free: 25.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.3663, allocations: 425.2 kB / 0.5792 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.3675, allocations: 1.225 MB / 0.5804 GB, free: 24.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009128/0.3685, allocations: 0.6542 MB / 0.581 GB, free: 24.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006254/0.3691, allocations: 477.1 kB / 0.5815 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006305/0.3697, allocations: 0.5235 MB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.3698, allocations: 66.53 kB / 0.5821 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007391/0.3706, allocations: 378.9 kB / 0.5824 GB, free: 23.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.3708, allocations: 314.4 kB / 0.5827 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003494/0.3712, allocations: 439.9 kB / 0.5832 GB, free: 23.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009969/0.3722, allocations: 1.206 MB / 0.5843 GB, free: 22.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3722, allocations: 3.156 kB / 0.5843 GB, free: 22.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3722, allocations: 0 / 0.5843 GB, free: 22.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.3723, allocations: 0 / 0.5843 GB, free: 22.37 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001588/0.3738, allocations: 1.158 MB / 0.5855 GB, free: 21.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3739, allocations: 10.25 kB / 0.5855 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.3754, allocations: 239.1 kB / 0.5857 GB, free: 21.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006692/0.376, allocations: 0.5446 MB / 0.5862 GB, free: 20.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.881e-05/0.3761, allocations: 51.86 kB / 0.5863 GB, free: 20.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.3762, allocations: 70.23 kB / 0.5864 GB, free: 20.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.3775, allocations: 1.086 MB / 0.5874 GB, free: 20.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.3775, allocations: 6.438 kB / 0.5874 GB, free: 20.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.862e-05/0.3776, allocations: 30.64 kB / 0.5875 GB, free: 20.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001427/0.3777, allocations: 84.91 kB / 0.5875 GB, free: 20.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.3788, allocations: 0.7508 MB / 0.5883 GB, free: 19.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0043/0.3831, allocations: 5.898 MB / 0.594 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008911/0.384, allocations: 0.5523 MB / 0.5946 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004184/0.3845, allocations: 325.4 kB / 0.5949 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.3845, allocations: 9 kB / 0.5949 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.3845, allocations: 42.42 kB / 0.5949 GB, free: 13.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.495e-06/0.3845, allocations: 4 kB / 0.5949 GB, free: 13.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.003542/0.3881, allocations: 1.979 MB / 0.5969 GB, free: 12.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.3881, allocations: 59.84 kB / 0.5969 GB, free: 12.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/0.3886, allocations: 0.5586 MB / 0.5975 GB, free: 11.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.3886, allocations: 37.7 kB / 0.5975 GB, free: 11.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.3888, allocations: 414.9 kB / 0.5979 GB, free: 11.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.915e-05/0.3889, allocations: 169.6 kB / 0.5981 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.3891, allocations: 134.4 kB / 0.5982 GB, free: 10.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.996e-05/0.3891, allocations: 374.7 kB / 0.5985 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.3895, allocations: 277.8 kB / 0.5988 GB, free: 10.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.3898, allocations: 493 kB / 0.5993 GB, free: 9.758 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007363/0.3906, allocations: 0.8093 MB / 0.6001 GB, free: 8.855 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3906, allocations: 4 kB / 0.6001 GB, free: 8.852 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001418/0.392, allocations: 1.083 MB / 0.6011 GB, free: 7.746 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.3921, allocations: 10.19 kB / 0.6011 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3921, allocations: 8 kB / 0.6011 GB, free: 7.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007274/0.3928, allocations: 287.1 kB / 0.6014 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004243/0.3932, allocations: 119.8 kB / 0.6015 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004689/0.3979, allocations: 7.137 MB / 0.6085 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006366/0.3986, allocations: 36.16 kB / 0.6085 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/0.3987, allocations: 39.98 kB / 0.6086 GB, free: 15.54 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0003853/0.3991, allocations: 257.5 kB / 0.6088 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.3992, allocations: 71.16 kB / 0.6089 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.4007, allocations: 0.8846 MB / 0.6098 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.4007, allocations: 4 kB / 0.6098 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4007, allocations: 8 kB / 0.6098 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4007, allocations: 0 / 0.6098 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002585/0.4033, allocations: 1.724 MB / 0.6115 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4033, allocations: 3.938 kB / 0.6115 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.4036, allocations: 63.89 kB / 0.6115 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007312/0.4043, allocations: 271.3 kB / 0.6118 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/0.4044, allocations: 19.94 kB / 0.6118 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006417/0.4108, allocations: 7.114 MB / 0.6187 GB, free: 4.445 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4108, allocations: 0 / 0.6187 GB, free: 4.445 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.4125, allocations: 0.9799 MB / 0.6197 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003214/0.4128, allocations: 200.2 kB / 0.6199 GB, free: 3.203 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.305e-05/0.4129, allocations: 8.188 kB / 0.6199 GB, free: 3.195 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/0.4133, allocations: 35.91 kB / 0.6199 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.4134, allocations: 48.02 kB / 0.62 GB, free: 3.113 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.4135, allocations: 15.98 kB / 0.62 GB, free: 3.098 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004178/0.4139, allocations: 383.1 kB / 0.6204 GB, free: 2.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4139, allocations: 4 kB / 0.6204 GB, free: 2.727 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000817/0.4147, allocations: 224 kB / 0.6206 GB, free: 2.508 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001545/0.4149, allocations: 111.2 kB / 0.6207 GB, free: 2.387 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002028/0.4169, allocations: 1.345 MB / 0.622 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4169, allocations: 0 / 0.622 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.4181, allocations: 0.8932 MB / 0.6229 GB, free: 44 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.4192, allocations: 214.6 kB / 0.6231 GB, free: 15.84 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.4214, allocations: 1.397 MB / 0.6244 GB, free: 14.39 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005945/0.422, allocations: 1.013 MB / 0.6254 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.4222, allocations: 43.44 kB / 0.6255 GB, free: 13.31 MB / 478.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4222, allocations: 0 / 0.6255 GB, free: 13.31 MB / 478.1 MB Notification: Performance of Templates: time 0.02457/0.4468, allocations: 20.65 MB / 0.6456 GB, free: 8.727 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)