Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 105.5 kB / 16.29 MB, free: 6.086 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.001555/0.001555, allocations: 182.3 kB / 17.22 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.833/1.833, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.97/1.97, allocations: 292.3 MB / 0.5495 GB, free: 17.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 67.91 kB / 0.6722 GB, free: 6.527 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3654, allocations: 114.6 MB / 0.7841 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.675/1.04, allocations: 6.055 MB / 0.79 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005567/1.046, allocations: 3.201 MB / 0.7931 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009219/1.047, allocations: 31.75 kB / 0.7931 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002585/1.05, allocations: 0.9302 MB / 0.7941 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001991/1.052, allocations: 473 kB / 0.7945 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001692/1.053, allocations: 491.2 kB / 0.795 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001983/1.055, allocations: 1.093 MB / 0.796 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/1.057, allocations: 0.636 MB / 0.7967 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/1.058, allocations: 438.5 kB / 0.7971 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007537/1.058, allocations: 471.7 kB / 0.7975 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/1.059, allocations: 59.44 kB / 0.7976 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/1.06, allocations: 487.5 kB / 0.7981 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004277/1.06, allocations: 287.8 kB / 0.7983 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000474/1.061, allocations: 402.8 kB / 0.7987 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002027/1.063, allocations: 1.167 MB / 0.7999 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.106e-05/1.063, allocations: 4 kB / 0.7999 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 6.222e-06/1.063, allocations: 0.7969 kB / 0.7999 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.085e-05/1.063, allocations: 1.812 kB / 0.7999 GB, free: 43.43 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002366/1.065, allocations: 1.052 MB / 0.8009 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/1.065, allocations: 13.5 kB / 0.8009 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/1.067, allocations: 221.7 kB / 0.8011 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/1.068, allocations: 0.5277 MB / 0.8016 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/1.069, allocations: 50.08 kB / 0.8017 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/1.069, allocations: 66.83 kB / 0.8017 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/1.071, allocations: 1.034 MB / 0.8027 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.234e-05/1.071, allocations: 8.312 kB / 0.8028 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.615e-05/1.071, allocations: 31.95 kB / 0.8028 GB, free: 41.56 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/1.071, allocations: 66.83 kB / 0.8028 GB, free: 41.56 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/1.073, allocations: 0.6906 MB / 0.8035 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006862/1.08, allocations: 5.735 MB / 0.8091 GB, free: 36.35 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/1.081, allocations: 0.6019 MB / 0.8097 GB, free: 35.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/1.082, allocations: 422 kB / 0.8101 GB, free: 35.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/1.082, allocations: 5.188 kB / 0.8101 GB, free: 35.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/1.082, allocations: 32.56 kB / 0.8102 GB, free: 35.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=41): time 3.025e-06/1.082, allocations: 0 / 0.8102 GB, free: 35.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.005472/1.088, allocations: 2.06 MB / 0.8122 GB, free: 34.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/1.088, allocations: 58.22 kB / 0.8122 GB, free: 34.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007062/1.089, allocations: 458.1 kB / 0.8127 GB, free: 34.47 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/1.089, allocations: 30.89 kB / 0.8127 GB, free: 34.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/1.089, allocations: 389.3 kB / 0.8131 GB, free: 34.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/1.089, allocations: 150.6 kB / 0.8132 GB, free: 34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/1.089, allocations: 108.4 kB / 0.8133 GB, free: 33.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001592/1.089, allocations: 365.2 kB / 0.8137 GB, free: 33.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/1.09, allocations: 248.6 kB / 0.8139 GB, free: 33.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006006/1.091, allocations: 457 kB / 0.8143 GB, free: 33.17 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/1.092, allocations: 0.7519 MB / 0.8151 GB, free: 32.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/1.092, allocations: 2.219 kB / 0.8151 GB, free: 32.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002309/1.094, allocations: 1.072 MB / 0.8161 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.094, allocations: 6.75 kB / 0.8161 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/1.094, allocations: 8.609 kB / 0.8161 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/1.095, allocations: 332.5 kB / 0.8164 GB, free: 32.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/1.096, allocations: 94.16 kB / 0.8165 GB, free: 32.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008499/1.104, allocations: 7.511 MB / 0.8239 GB, free: 25.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008065/1.105, allocations: 29.39 kB / 0.8239 GB, free: 25.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/1.105, allocations: 27.88 kB / 0.8239 GB, free: 25.72 MB / 0.6544 GB 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005963/1.106, allocations: 244.7 kB / 0.8242 GB, free: 25.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/1.106, allocations: 68.47 kB / 0.8242 GB, free: 25.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/1.108, allocations: 0.9083 MB / 0.8251 GB, free: 25.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/1.108, allocations: 8.469 kB / 0.8251 GB, free: 25.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/1.108, allocations: 4.219 kB / 0.8251 GB, free: 25.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/1.108, allocations: 3.234 kB / 0.8251 GB, free: 25.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003739/1.112, allocations: 1.71 MB / 0.8268 GB, free: 24.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/1.112, allocations: 2.219 kB / 0.8268 GB, free: 24.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/1.112, allocations: 38.73 kB / 0.8268 GB, free: 24.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/1.113, allocations: 330.7 kB / 0.8271 GB, free: 24.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/1.113, allocations: 6.719 kB / 0.8272 GB, free: 24.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008588/1.122, allocations: 7.51 MB / 0.8345 GB, free: 17.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/1.122, allocations: 5.219 kB / 0.8345 GB, free: 17.76 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/1.125, allocations: 1.016 MB / 0.8355 GB, free: 17.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004536/1.125, allocations: 173.9 kB / 0.8356 GB, free: 17.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/1.125, allocations: 8.078 kB / 0.8357 GB, free: 17.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/1.126, allocations: 23.61 kB / 0.8357 GB, free: 17.08 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/1.126, allocations: 38.64 kB / 0.8357 GB, free: 17.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/1.126, allocations: 12.91 kB / 0.8357 GB, free: 17.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005082/1.126, allocations: 307.1 kB / 0.836 GB, free: 16.93 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.02e-07/1.126, allocations: 4 kB / 0.836 GB, free: 16.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001337/1.128, allocations: 198.6 kB / 0.8362 GB, free: 16.9 MB / 0.6544 GB 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002656/1.128, allocations: 107.8 kB / 0.8363 GB, free: 16.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002716/1.131, allocations: 1.222 MB / 0.8375 GB, free: 16.06 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.131, allocations: 0 / 0.8375 GB, free: 16.06 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001522/1.132, allocations: 0.8653 MB / 0.8384 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/1.134, allocations: 207.1 kB / 0.8386 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/1.137, allocations: 1.216 MB / 0.8397 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/1.138, allocations: 0.9885 MB / 0.8407 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004887/1.138, allocations: 97.69 kB / 0.8408 GB, free: 14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/1.138, allocations: 35.84 kB / 0.8408 GB, free: 14 MB / 0.6544 GB Notification: Performance of SimCode: time 1.342e-06/1.138, allocations: 0 / 0.8408 GB, free: 14 MB / 0.6544 GB Notification: Performance of Templates: time 0.03161/1.17, allocations: 9.953 MB / 0.8506 GB, free: 11.88 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)