Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007767/0.0007767, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004821/0.004821, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.294/1.294, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001708/0.001708, allocations: 266.9 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9498/0.9498, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004023, allocations: 15.25 kB / 0.5987 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1425, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005411/0.148, allocations: 5.065 MB / 0.6901 GB, free: 9.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003634/0.1516, allocations: 2.587 MB / 0.6926 GB, free: 7.395 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002213/0.1519, allocations: 19.81 kB / 0.6926 GB, free: 7.375 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.1521, allocations: 101 kB / 0.6927 GB, free: 7.277 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007367/0.1529, allocations: 389.3 kB / 0.6931 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007365/0.1536, allocations: 356.1 kB / 0.6934 GB, free: 6.555 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.1546, allocations: 1.256 MB / 0.6947 GB, free: 5.297 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.1558, allocations: 0.7897 MB / 0.6954 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003482/0.1562, allocations: 306.6 kB / 0.6957 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004379/0.1566, allocations: 386.4 kB / 0.6961 GB, free: 3.797 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.094e-05/0.1567, allocations: 28 kB / 0.6961 GB, free: 3.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005765/0.1573, allocations: 435.1 kB / 0.6965 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.1575, allocations: 211.4 kB / 0.6967 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002763/0.1578, allocations: 343.9 kB / 0.6971 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008106/0.1586, allocations: 0.9575 MB / 0.698 GB, free: 1.832 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1586, allocations: 4 kB / 0.698 GB, free: 1.828 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1586, allocations: 0 / 0.698 GB, free: 1.828 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1586, allocations: 0 / 0.698 GB, free: 1.828 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001218/0.1598, allocations: 0.8492 MB / 0.6988 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.1599, allocations: 8.031 kB / 0.6988 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.1612, allocations: 195.8 kB / 0.699 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006083/0.1618, allocations: 486.5 kB / 0.6995 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.1619, allocations: 37.38 kB / 0.6995 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.162, allocations: 60.45 kB / 0.6996 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.1631, allocations: 0.8363 MB / 0.7004 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.1631, allocations: 0 / 0.7004 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.798e-05/0.1632, allocations: 20 kB / 0.7004 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001824/0.1634, allocations: 72.94 kB / 0.7005 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008297/0.1642, allocations: 0.5735 MB / 0.7011 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003822/0.1681, allocations: 4.596 MB / 0.7055 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.1685, allocations: 295.3 kB / 0.7058 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/0.1688, allocations: 221.3 kB / 0.706 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.1688, allocations: 8.219 kB / 0.706 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.1689, allocations: 42.84 kB / 0.7061 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.352e-06/0.1689, allocations: 0 / 0.7061 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.00533/0.1742, allocations: 2.635 MB / 0.7087 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.1742, allocations: 55.41 kB / 0.7087 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004355/0.1747, allocations: 457.9 kB / 0.7091 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.1747, allocations: 37.64 kB / 0.7092 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.1749, allocations: 339.7 kB / 0.7095 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.1751, allocations: 149.9 kB / 0.7096 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.954e-05/0.1751, allocations: 45.7 kB / 0.7097 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1753, allocations: 362.8 kB / 0.71 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.1756, allocations: 237 kB / 0.7103 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/0.176, allocations: 410.4 kB / 0.7107 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008219/0.1769, allocations: 0.6779 MB / 0.7113 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.1769, allocations: 0 / 0.7113 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001594/0.1785, allocations: 0.9094 MB / 0.7122 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1785, allocations: 8 kB / 0.7122 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.1785, allocations: 7.984 kB / 0.7122 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007633/0.1793, allocations: 227 kB / 0.7124 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.1798, allocations: 115.8 kB / 0.7125 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004437/0.1843, allocations: 4.942 MB / 0.7174 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004246/0.1847, allocations: 31.97 kB / 0.7174 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.1847, allocations: 27.94 kB / 0.7174 GB, free: 12.65 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002759/0.185, allocations: 225.6 kB / 0.7176 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.013e-05/0.1851, allocations: 59.33 kB / 0.7177 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.1866, allocations: 0.7772 MB / 0.7185 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1866, allocations: 4.141 kB / 0.7185 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1866, allocations: 3.984 kB / 0.7185 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1866, allocations: 3.984 kB / 0.7185 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.1889, allocations: 1.494 MB / 0.7199 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.1889, allocations: 0 / 0.7199 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.1893, allocations: 68.16 kB / 0.72 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006616/0.19, allocations: 202.3 kB / 0.7202 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.19, allocations: 16 kB / 0.7202 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004195/0.1942, allocations: 4.877 MB / 0.725 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.1943, allocations: 7.938 kB / 0.725 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.196, allocations: 1.131 MB / 0.7261 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.1962, allocations: 168.4 kB / 0.7262 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.613e-05/0.1962, allocations: 12 kB / 0.7263 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.1966, allocations: 27.89 kB / 0.7263 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.034e-05/0.1967, allocations: 35.91 kB / 0.7263 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.1967, allocations: 16.06 kB / 0.7263 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003113/0.197, allocations: 314.9 kB / 0.7266 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.197, allocations: 0 / 0.7266 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006556/0.1977, allocations: 164 kB / 0.7268 GB, free: 2.484 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001377/0.1978, allocations: 119.9 kB / 0.7269 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.1993, allocations: 1.012 MB / 0.7279 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1993, allocations: 0 / 0.7279 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009006/0.2002, allocations: 0.6837 MB / 0.7286 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.2012, allocations: 171.3 kB / 0.7287 GB, free: 424 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.2034, allocations: 1.541 MB / 0.7302 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006944/0.2041, allocations: 0.9494 MB / 0.7311 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004194/0.2046, allocations: 109 kB / 0.7313 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.2047, allocations: 43.38 kB / 0.7313 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.2047, allocations: 3.938 kB / 0.7313 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of Templates: time 0.01579/0.2205, allocations: 8.411 MB / 0.7395 GB, free: 5.398 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)