Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001506/0.001506, allocations: 103 kB / 16.52 MB, free: 6.656 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.001808/0.001808, allocations: 198.7 kB / 17.44 MB, free: 6.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.397/1.397, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.724/0.724, allocations: 115.3 MB / 406.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 59.91 kB / 493.6 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3697, allocations: 76.17 MB / 0.5564 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006207/0.376, allocations: 6.083 MB / 0.5623 GB, free: 32.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004242/0.3802, allocations: 3.157 MB / 0.5654 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004096/0.3807, allocations: 27.94 kB / 0.5654 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.3826, allocations: 0.8745 MB / 0.5663 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009688/0.3836, allocations: 440.3 kB / 0.5667 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.3847, allocations: 441.4 kB / 0.5671 GB, free: 29.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.386, allocations: 1.463 MB / 0.5686 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008991/0.3869, allocations: 0.6204 MB / 0.5692 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004983/0.3874, allocations: 387.8 kB / 0.5695 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005585/0.388, allocations: 483.1 kB / 0.57 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.484e-05/0.3881, allocations: 43.62 kB / 0.57 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.3891, allocations: 0.5825 MB / 0.5706 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002824/0.3894, allocations: 275.6 kB / 0.5709 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003455/0.3898, allocations: 385.3 kB / 0.5712 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.3909, allocations: 0.8986 MB / 0.5721 GB, free: 27.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3909, allocations: 4.656 kB / 0.5721 GB, free: 27.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.3909, allocations: 6.438 kB / 0.5721 GB, free: 27.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.3909, allocations: 0 / 0.5721 GB, free: 27.16 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001548/0.3925, allocations: 1.048 MB / 0.5731 GB, free: 26.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3925, allocations: 13.72 kB / 0.5732 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.394, allocations: 227.4 kB / 0.5734 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006911/0.3947, allocations: 0.528 MB / 0.5739 GB, free: 25.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.3947, allocations: 54.36 kB / 0.5739 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.3949, allocations: 62.81 kB / 0.574 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.3962, allocations: 1.035 MB / 0.575 GB, free: 25.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.3962, allocations: 7.625 kB / 0.575 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/0.3963, allocations: 28.2 kB / 0.575 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-05/0.3964, allocations: 71.22 kB / 0.5751 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.3975, allocations: 0.6906 MB / 0.5758 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004055/0.4015, allocations: 5.748 MB / 0.5814 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000773/0.4023, allocations: 0.5991 MB / 0.582 GB, free: 19.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007266/0.4031, allocations: 418.5 kB / 0.5824 GB, free: 19.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.4031, allocations: 4.859 kB / 0.5824 GB, free: 19.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.4031, allocations: 37.06 kB / 0.5824 GB, free: 19.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 2.244e-06/0.4031, allocations: 0 / 0.5824 GB, free: 19.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.004126/0.4073, allocations: 2.059 MB / 0.5844 GB, free: 18.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.4073, allocations: 59.31 kB / 0.5845 GB, free: 18.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005056/0.4078, allocations: 455.4 kB / 0.5849 GB, free: 18.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.4079, allocations: 30.83 kB / 0.585 GB, free: 18.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.4081, allocations: 385.5 kB / 0.5853 GB, free: 17.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.544e-05/0.4082, allocations: 150.9 kB / 0.5855 GB, free: 17.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.4083, allocations: 113.7 kB / 0.5856 GB, free: 17.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.4084, allocations: 363.4 kB / 0.5859 GB, free: 17.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.4088, allocations: 244.9 kB / 0.5862 GB, free: 17.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004234/0.4092, allocations: 461 kB / 0.5866 GB, free: 16.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008035/0.4101, allocations: 0.756 MB / 0.5873 GB, free: 16.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.4101, allocations: 2.531 kB / 0.5873 GB, free: 16.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001787/0.4119, allocations: 1.059 MB / 0.5884 GB, free: 15.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.4119, allocations: 11.16 kB / 0.5884 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.4119, allocations: 11.61 kB / 0.5884 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.4129, allocations: 332.4 kB / 0.5887 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.4133, allocations: 95.73 kB / 0.5888 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005501/0.4188, allocations: 6.959 MB / 0.5956 GB, free: 9.332 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/0.4192, allocations: 34.42 kB / 0.5956 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/0.4192, allocations: 25.59 kB / 0.5957 GB, free: 9.309 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 (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.000329/0.4196, allocations: 252.7 kB / 0.5959 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-05/0.4197, allocations: 56.28 kB / 0.596 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.4213, allocations: 0.9101 MB / 0.5968 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.4213, allocations: 4.469 kB / 0.5968 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4213, allocations: 3.625 kB / 0.5968 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4213, allocations: 0 / 0.5968 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.4238, allocations: 1.72 MB / 0.5985 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.4238, allocations: 0.75 kB / 0.5985 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.424, allocations: 42.81 kB / 0.5986 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009263/0.4249, allocations: 331.1 kB / 0.5989 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.4249, allocations: 8.344 kB / 0.5989 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004835/0.4298, allocations: 6.948 MB / 0.6057 GB, free: 0 / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4298, allocations: 0 / 0.6057 GB, free: 0 / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.4316, allocations: 1.015 MB / 0.6067 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.4318, allocations: 172.4 kB / 0.6068 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.987e-05/0.4319, allocations: 12 kB / 0.6068 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.4322, allocations: 15.98 kB / 0.6069 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.615e-05/0.4323, allocations: 43.88 kB / 0.6069 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.4323, allocations: 19.94 kB / 0.6069 GB, free: 14.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003322/0.4326, allocations: 302.9 kB / 0.6072 GB, free: 14.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4326, allocations: 0 / 0.6072 GB, free: 14.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007869/0.4334, allocations: 196 kB / 0.6074 GB, free: 14.17 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 (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.0001371/0.4336, allocations: 115.2 kB / 0.6075 GB, free: 14.05 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.4354, allocations: 1.195 MB / 0.6087 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4354, allocations: 0 / 0.6087 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.4367, allocations: 0.8582 MB / 0.6095 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009684/0.4377, allocations: 184.3 kB / 0.6097 GB, free: 11.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.4399, allocations: 1.592 MB / 0.6112 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000635/0.4406, allocations: 0.9921 MB / 0.6122 GB, free: 9.051 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.4407, allocations: 39.44 kB / 0.6122 GB, free: 9.016 MB / 462.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4407, allocations: 0 / 0.6122 GB, free: 9.016 MB / 462.1 MB Notification: Performance of Templates: time 0.01981/0.4605, allocations: 18.45 MB / 0.6303 GB, free: 6.609 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)