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.0008632/0.0008663, allocations: 95.88 kB / 15.68 MB, free: 488 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.0009494/0.0009497, allocations: 176.8 kB / 16.57 MB, free: 6.52 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.42/1.42, allocations: 223.2 MB / 240.5 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7105/0.7105, allocations: 113.8 MB / 405.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003634, allocations: 12 kB / 493.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1812, allocations: 77.15 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003353/0.1846, allocations: 2.744 MB / 0.5595 GB, free: 8.836 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.1873, allocations: 1.727 MB / 0.5612 GB, free: 7.102 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.1874, allocations: 4 kB / 0.5612 GB, free: 7.098 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.1876, allocations: 31.77 kB / 0.5612 GB, free: 7.066 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004497/0.1881, allocations: 151.5 kB / 0.5614 GB, free: 6.918 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006607/0.1887, allocations: 219.5 kB / 0.5616 GB, free: 6.703 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.1891, allocations: 239.5 kB / 0.5618 GB, free: 6.469 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007132/0.1898, allocations: 440.7 kB / 0.5622 GB, free: 6.012 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.1899, allocations: 111.6 kB / 0.5624 GB, free: 5.902 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.1903, allocations: 147.5 kB / 0.5625 GB, free: 5.758 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.1903, allocations: 12 kB / 0.5625 GB, free: 5.746 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.1906, allocations: 123.8 kB / 0.5626 GB, free: 5.625 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.1908, allocations: 99.75 kB / 0.5627 GB, free: 5.527 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.716e-05/0.1909, allocations: 81.58 kB / 0.5628 GB, free: 5.441 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004252/0.1913, allocations: 355.2 kB / 0.5631 GB, free: 5.094 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1913, allocations: 0 / 0.5631 GB, free: 5.094 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1913, allocations: 0 / 0.5631 GB, free: 5.094 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.1913, allocations: 0 / 0.5631 GB, free: 5.094 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.000992/0.1923, allocations: 0.5357 MB / 0.5637 GB, free: 4.512 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1924, allocations: 16.02 kB / 0.5637 GB, free: 4.496 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007529/0.1931, allocations: 103.5 kB / 0.5638 GB, free: 4.395 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.1935, allocations: 268 kB / 0.564 GB, free: 4.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.1935, allocations: 20.55 kB / 0.564 GB, free: 4.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.1936, allocations: 39.89 kB / 0.5641 GB, free: 4.031 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.1942, allocations: 437.1 kB / 0.5645 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1943, allocations: 4 kB / 0.5645 GB, free: 3.566 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.1943, allocations: 15.98 kB / 0.5645 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001378/0.1944, allocations: 36.53 kB / 0.5646 GB, free: 3.516 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004929/0.1949, allocations: 349.9 kB / 0.5649 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002259/0.1972, allocations: 2.199 MB / 0.567 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.1976, allocations: 270.9 kB / 0.5673 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.1977, allocations: 192 / 0.5673 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1977, allocations: 34.75 kB / 0.5673 GB, free: 472 kB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.032e-06/0.1977, allocations: 0 / 0.5673 GB, free: 472 kB / 430.1 MB Notification: Performance of matching and sorting (n=23): time 0.001662/0.1994, allocations: 1.052 MB / 0.5684 GB, free: 15.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.1994, allocations: 55.27 kB / 0.5684 GB, free: 15.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.1996, allocations: 248.9 kB / 0.5686 GB, free: 15.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.1997, allocations: 33.7 kB / 0.5687 GB, free: 14.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.1998, allocations: 187.9 kB / 0.5689 GB, free: 14.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.1999, allocations: 82.84 kB / 0.5689 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.992e-05/0.1999, allocations: 8 kB / 0.5689 GB, free: 14.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.2, allocations: 338.8 kB / 0.5693 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.2002, allocations: 147.9 kB / 0.5694 GB, free: 14.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.2005, allocations: 236.8 kB / 0.5696 GB, free: 13.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.2008, allocations: 185.3 kB / 0.5698 GB, free: 13.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.2008, allocations: 0 / 0.5698 GB, free: 13.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000986/0.2018, allocations: 0.5818 MB / 0.5704 GB, free: 13.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.2018, allocations: 7.984 kB / 0.5704 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2018, allocations: 7.938 kB / 0.5704 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006439/0.2025, allocations: 192.9 kB / 0.5706 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.2027, allocations: 67.89 kB / 0.5706 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/0.2053, allocations: 2.341 MB / 0.5729 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.2056, allocations: 19.98 kB / 0.5729 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.2056, allocations: 15.94 kB / 0.573 GB, free: 10.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000182/0.2058, allocations: 173.8 kB / 0.5731 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.2059, allocations: 19.72 kB / 0.5731 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005477/0.2064, allocations: 359.1 kB / 0.5735 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2064, allocations: 0 / 0.5735 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.2064, allocations: 4 kB / 0.5735 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2065, allocations: 0 / 0.5735 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.2075, allocations: 0.8176 MB / 0.5743 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2075, allocations: 64 / 0.5743 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.2079, allocations: 79.88 kB / 0.5744 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.2079, allocations: 4 kB / 0.5744 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.2079, allocations: 8 kB / 0.5744 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2079, allocations: 0 / 0.5744 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2079, allocations: 0 / 0.5744 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007311/0.2087, allocations: 0.6371 MB / 0.575 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.2088, allocations: 128.8 kB / 0.5751 GB, free: 8.062 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.2089, allocations: 11.95 kB / 0.5751 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.2091, allocations: 11.98 kB / 0.5751 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.2091, allocations: 15.97 kB / 0.5752 GB, free: 8.023 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.2091, allocations: 7.938 kB / 0.5752 GB, free: 8.016 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001483/0.2093, allocations: 180.5 kB / 0.5753 GB, free: 7.844 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2093, allocations: 4 kB / 0.5753 GB, free: 7.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004004/0.2097, allocations: 84 kB / 0.5754 GB, free: 7.758 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001682/0.2099, allocations: 115.8 kB / 0.5755 GB, free: 7.633 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008555/0.2107, allocations: 0.5303 MB / 0.5761 GB, free: 7.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.2108, allocations: 4 kB / 0.5761 GB, free: 7.086 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.211, allocations: 153.6 kB / 0.5762 GB, free: 6.938 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.2113, allocations: 44.41 kB / 0.5762 GB, free: 6.895 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.2127, allocations: 0.999 MB / 0.5772 GB, free: 5.859 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.2131, allocations: 0.799 MB / 0.578 GB, free: 5.035 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001933/0.2133, allocations: 78.89 kB / 0.5781 GB, free: 4.957 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.873e-05/0.2133, allocations: 19.44 kB / 0.5781 GB, free: 4.938 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2133, allocations: 0 / 0.5781 GB, free: 4.938 MB / 446.1 MB Notification: Performance of Templates: time 0.006986/0.2203, allocations: 3.648 MB / 0.5817 GB, free: 1.32 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)