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.001003/0.001003, allocations: 115.2 kB / 17.04 MB, free: 5.812 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.001009/0.001009, allocations: 195 kB / 17.98 MB, free: 5.027 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.327/1.327, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7073/0.7073, allocations: 115.1 MB / 407 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001234, allocations: 64.12 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3718, allocations: 76.14 MB / 0.5576 GB, free: 36.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008133/0.3799, allocations: 6.724 MB / 0.5641 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005274/0.3853, allocations: 3.039 MB / 0.5671 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008037/0.3862, allocations: 28.19 kB / 0.5671 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002256/0.3884, allocations: 0.9528 MB / 0.5681 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.3901, allocations: 0.4974 MB / 0.5686 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.3914, allocations: 425 kB / 0.569 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001408/0.3928, allocations: 1.217 MB / 0.5701 GB, free: 28.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008891/0.3937, allocations: 0.6592 MB / 0.5708 GB, free: 28.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006083/0.3943, allocations: 476 kB / 0.5712 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007162/0.3951, allocations: 0.5188 MB / 0.5718 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.3952, allocations: 66.88 kB / 0.5718 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008637/0.3961, allocations: 378.9 kB / 0.5722 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003189/0.3964, allocations: 307 kB / 0.5725 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000395/0.3968, allocations: 452.7 kB / 0.5729 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.3981, allocations: 1.217 MB / 0.5741 GB, free: 26.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3981, allocations: 1.594 kB / 0.5741 GB, free: 26.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3981, allocations: 1.375 kB / 0.5741 GB, free: 26.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.3982, allocations: 3.938 kB / 0.5741 GB, free: 26.96 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.001876/0.4, allocations: 1.151 MB / 0.5752 GB, free: 26.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.4001, allocations: 9.719 kB / 0.5752 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.4017, allocations: 241 kB / 0.5755 GB, free: 26.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009864/0.4027, allocations: 0.591 MB / 0.576 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/0.4027, allocations: 47.2 kB / 0.5761 GB, free: 25.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.4028, allocations: 68.42 kB / 0.5761 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.4042, allocations: 1.084 MB / 0.5772 GB, free: 25.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.4042, allocations: 12.09 kB / 0.5772 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.758e-05/0.4043, allocations: 33.52 kB / 0.5773 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001494/0.4045, allocations: 87.69 kB / 0.5773 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.4056, allocations: 0.7488 MB / 0.5781 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004244/0.4098, allocations: 5.874 MB / 0.5838 GB, free: 19.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009015/0.4108, allocations: 0.5611 MB / 0.5843 GB, free: 19.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003975/0.4112, allocations: 325.4 kB / 0.5847 GB, free: 19.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.943e-05/0.4112, allocations: 12.64 kB / 0.5847 GB, free: 19.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.4112, allocations: 38.44 kB / 0.5847 GB, free: 19.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.264e-06/0.4112, allocations: 0 / 0.5847 GB, free: 19.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.003513/0.4148, allocations: 1.984 MB / 0.5866 GB, free: 18.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.4148, allocations: 64.88 kB / 0.5867 GB, free: 18.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/0.4154, allocations: 0.5496 MB / 0.5872 GB, free: 18.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.4155, allocations: 36.89 kB / 0.5873 GB, free: 17.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.4157, allocations: 414 kB / 0.5877 GB, free: 17.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.919e-05/0.4158, allocations: 171.2 kB / 0.5878 GB, free: 17.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.416, allocations: 125.3 kB / 0.588 GB, free: 17.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.345e-05/0.4161, allocations: 377.4 kB / 0.5883 GB, free: 17.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/0.4164, allocations: 280.7 kB / 0.5886 GB, free: 16.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.4169, allocations: 489.3 kB / 0.5891 GB, free: 16.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000833/0.4177, allocations: 0.806 MB / 0.5898 GB, free: 15.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4177, allocations: 2.594 kB / 0.5898 GB, free: 15.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001549/0.4193, allocations: 1.089 MB / 0.5909 GB, free: 15.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.4193, allocations: 9.781 kB / 0.5909 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.4193, allocations: 10.78 kB / 0.5909 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007505/0.4201, allocations: 285.5 kB / 0.5912 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.4206, allocations: 125.5 kB / 0.5913 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004873/0.4254, allocations: 7.138 MB / 0.5983 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006748/0.4261, allocations: 41.59 kB / 0.5983 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/0.4262, allocations: 35.55 kB / 0.5984 GB, free: 8.5 MB / 446.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.0003336/0.4265, allocations: 254.7 kB / 0.5986 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.964e-05/0.4266, allocations: 71.81 kB / 0.5987 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.428, allocations: 0.8841 MB / 0.5995 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.428, allocations: 9.531 kB / 0.5995 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.428, allocations: 3.438 kB / 0.5995 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.428, allocations: 3.984 kB / 0.5996 GB, free: 7.719 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.4303, allocations: 1.72 MB / 0.6012 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.4303, allocations: 4 kB / 0.6012 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.4305, allocations: 67.83 kB / 0.6013 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006286/0.4312, allocations: 263.4 kB / 0.6016 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.4312, allocations: 16.05 kB / 0.6016 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005195/0.4364, allocations: 7.118 MB / 0.6085 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.4364, allocations: 4.031 kB / 0.6085 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.4381, allocations: 0.9835 MB / 0.6095 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004018/0.4385, allocations: 184.3 kB / 0.6097 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.482e-05/0.4386, allocations: 12 kB / 0.6097 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/0.4389, allocations: 31.84 kB / 0.6097 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.439, allocations: 47.88 kB / 0.6097 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/0.4391, allocations: 16 kB / 0.6098 GB, free: 12.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005049/0.4396, allocations: 387.1 kB / 0.6101 GB, free: 12.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4396, allocations: 0 / 0.6101 GB, free: 12.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000986/0.4406, allocations: 224 kB / 0.6103 GB, free: 12.23 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.0001457/0.4408, allocations: 111.2 kB / 0.6104 GB, free: 12.11 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001981/0.4427, allocations: 1.275 MB / 0.6117 GB, free: 10.79 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4428, allocations: 0 / 0.6117 GB, free: 10.79 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.444, allocations: 0.8975 MB / 0.6126 GB, free: 9.836 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009828/0.445, allocations: 225.1 kB / 0.6128 GB, free: 9.621 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.4472, allocations: 1.317 MB / 0.6141 GB, free: 8.254 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005876/0.4478, allocations: 1.005 MB / 0.6151 GB, free: 7.223 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003443/0.4482, allocations: 126 kB / 0.6152 GB, free: 7.098 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.4483, allocations: 39.44 kB / 0.6152 GB, free: 7.062 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4483, allocations: 0 / 0.6152 GB, free: 7.062 MB / 462.1 MB Notification: Performance of Templates: time 0.01764/0.466, allocations: 11.17 MB / 0.6261 GB, free: 12.05 MB / 478.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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)