Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001396, allocations: 184.8 kB / 16.92 MB, free: 6.676 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.483/1.483, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7013/0.7013, allocations: 115.5 MB / 407.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003448, allocations: 8 kB / 495.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1808, allocations: 77.53 MB / 0.56 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004195/0.185, allocations: 2.922 MB / 0.5628 GB, free: 6.078 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003195/0.1882, allocations: 1.996 MB / 0.5648 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.1884, allocations: 7.938 kB / 0.5648 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.1886, allocations: 39.64 kB / 0.5648 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005108/0.1891, allocations: 219.2 kB / 0.565 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005847/0.1897, allocations: 267.5 kB / 0.5653 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005666/0.1902, allocations: 0.5649 MB / 0.5658 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008105/0.1911, allocations: 465.2 kB / 0.5663 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.1913, allocations: 131.5 kB / 0.5664 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003578/0.1916, allocations: 191.3 kB / 0.5666 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.1917, allocations: 12 kB / 0.5666 GB, free: 2.168 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004874/0.1922, allocations: 311.4 kB / 0.5669 GB, free: 1.863 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.1923, allocations: 111.7 kB / 0.567 GB, free: 1.754 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.1925, allocations: 153 kB / 0.5671 GB, free: 1.598 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005567/0.193, allocations: 486.4 kB / 0.5676 GB, free: 1.121 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.193, allocations: 3.984 kB / 0.5676 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1931, allocations: 0 / 0.5676 GB, free: 1.117 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1931, allocations: 0 / 0.5676 GB, free: 1.117 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.000982/0.1941, allocations: 0.5459 MB / 0.5681 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1941, allocations: 11.97 kB / 0.5682 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009641/0.1951, allocations: 116.4 kB / 0.5683 GB, free: 408 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.1954, allocations: 273.4 kB / 0.5685 GB, free: 92 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.1954, allocations: 20.94 kB / 0.5685 GB, free: 72 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.1956, allocations: 44.47 kB / 0.5686 GB, free: 28 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007183/0.1963, allocations: 453 kB / 0.569 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1963, allocations: 0 / 0.569 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.1964, allocations: 19.98 kB / 0.569 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001517/0.1965, allocations: 40.52 kB / 0.5691 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006152/0.1971, allocations: 365.9 kB / 0.5694 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/0.1998, allocations: 2.218 MB / 0.5716 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004327/0.2003, allocations: 266.4 kB / 0.5719 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.2005, allocations: 160.8 kB / 0.572 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.2005, allocations: 0 / 0.572 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.2006, allocations: 42.5 kB / 0.572 GB, free: 12.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 9.52e-07/0.2006, allocations: 0 / 0.572 GB, free: 12.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001767/0.2024, allocations: 1.053 MB / 0.5731 GB, free: 11.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.2024, allocations: 55.41 kB / 0.5731 GB, free: 11.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.2027, allocations: 260.8 kB / 0.5734 GB, free: 10.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.2028, allocations: 37.7 kB / 0.5734 GB, free: 10.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.2029, allocations: 180 kB / 0.5736 GB, free: 10.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.426e-05/0.203, allocations: 90.73 kB / 0.5737 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.043e-05/0.203, allocations: 37.7 kB / 0.5737 GB, free: 10.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.2032, allocations: 334.8 kB / 0.574 GB, free: 10.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002825/0.2035, allocations: 155.9 kB / 0.5742 GB, free: 9.945 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.2039, allocations: 246.3 kB / 0.5744 GB, free: 9.672 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005932/0.2045, allocations: 410.8 kB / 0.5748 GB, free: 9.238 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.2045, allocations: 7.938 kB / 0.5748 GB, free: 9.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001188/0.2057, allocations: 0.6005 MB / 0.5754 GB, free: 8.621 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2057, allocations: 12 kB / 0.5754 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2057, allocations: 4 kB / 0.5754 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006793/0.2064, allocations: 180.7 kB / 0.5756 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.2067, allocations: 67.89 kB / 0.5756 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002773/0.2095, allocations: 2.292 MB / 0.5779 GB, free: 5.938 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.2099, allocations: 32 kB / 0.5779 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.2099, allocations: 16 kB / 0.5779 GB, free: 5.891 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001949/0.2101, allocations: 161.8 kB / 0.5781 GB, free: 5.723 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.91e-05/0.2102, allocations: 27.66 kB / 0.5781 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005512/0.2107, allocations: 347.5 kB / 0.5784 GB, free: 5.348 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2108, allocations: 4 kB / 0.5784 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.2108, allocations: 0 / 0.5784 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.2108, allocations: 7.984 kB / 0.5785 GB, free: 5.336 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.2118, allocations: 0.8121 MB / 0.5792 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2118, allocations: 7.938 kB / 0.5793 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.2122, allocations: 71.94 kB / 0.5793 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.2122, allocations: 4 kB / 0.5793 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.2123, allocations: 7.938 kB / 0.5793 GB, free: 4.371 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.2123, allocations: 4 kB / 0.5793 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2123, allocations: 4.062 kB / 0.5793 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007943/0.2131, allocations: 0.6158 MB / 0.5799 GB, free: 3.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.2132, allocations: 128.8 kB / 0.5801 GB, free: 3.586 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.2133, allocations: 11.98 kB / 0.5801 GB, free: 3.574 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.2135, allocations: 15.98 kB / 0.5801 GB, free: 3.559 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.2135, allocations: 15.98 kB / 0.5801 GB, free: 3.543 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.2136, allocations: 12 kB / 0.5801 GB, free: 3.531 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002167/0.2138, allocations: 188.5 kB / 0.5803 GB, free: 3.348 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2138, allocations: 0 / 0.5803 GB, free: 3.348 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003913/0.2142, allocations: 87.94 kB / 0.5804 GB, free: 3.262 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001616/0.2144, allocations: 111.2 kB / 0.5805 GB, free: 3.141 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008959/0.2153, allocations: 0.5334 MB / 0.581 GB, free: 2.594 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2153, allocations: 0 / 0.581 GB, free: 2.594 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.2155, allocations: 152.5 kB / 0.5812 GB, free: 2.445 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.2159, allocations: 62.64 kB / 0.5812 GB, free: 2.387 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.2175, allocations: 1.01 MB / 0.5822 GB, free: 1.348 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.2179, allocations: 0.795 MB / 0.583 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002583/0.2182, allocations: 82.91 kB / 0.5831 GB, free: 456 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.676e-05/0.2183, allocations: 27.44 kB / 0.5831 GB, free: 428 kB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2183, allocations: 0 / 0.5831 GB, free: 428 kB / 446.1 MB Notification: Performance of Templates: time 0.3142/0.5325, allocations: 3.87 MB / 0.5869 GB, free: 30.13 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)