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.0007387/0.0007387, allocations: 92.39 kB / 15.7 MB, free: 472 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.0008286/0.0008287, allocations: 176.5 kB / 16.58 MB, free: 6.066 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.435/1.435, allocations: 223.3 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7451/0.7451, allocations: 115.5 MB / 407.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003557, allocations: 8.219 kB / 495.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.182, allocations: 77.52 MB / 0.5593 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003915/0.186, allocations: 2.818 MB / 0.5621 GB, free: 6.609 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002842/0.1888, allocations: 1.737 MB / 0.5638 GB, free: 4.867 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.189, allocations: 4 kB / 0.5638 GB, free: 4.863 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.1892, allocations: 43.64 kB / 0.5638 GB, free: 4.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005629/0.1898, allocations: 175.2 kB / 0.564 GB, free: 4.648 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006788/0.1905, allocations: 219.5 kB / 0.5642 GB, free: 4.434 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005778/0.1911, allocations: 474.5 kB / 0.5647 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008301/0.1919, allocations: 432.4 kB / 0.5651 GB, free: 3.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.1921, allocations: 139.5 kB / 0.5652 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003666/0.1925, allocations: 175.4 kB / 0.5654 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.203e-05/0.1925, allocations: 20 kB / 0.5654 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002915/0.1928, allocations: 131.8 kB / 0.5655 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.193, allocations: 111.7 kB / 0.5656 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.449e-05/0.1931, allocations: 73.58 kB / 0.5657 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003955/0.1935, allocations: 351.4 kB / 0.566 GB, free: 2.531 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.1935, allocations: 0 / 0.566 GB, free: 2.531 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.1935, allocations: 3.938 kB / 0.566 GB, free: 2.527 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.1935, allocations: 0 / 0.566 GB, free: 2.527 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.0009461/0.1945, allocations: 0.5379 MB / 0.5665 GB, free: 1.941 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1945, allocations: 8.031 kB / 0.5666 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006689/0.1952, allocations: 95.52 kB / 0.5666 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.1955, allocations: 276.1 kB / 0.5669 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.1956, allocations: 20.55 kB / 0.5669 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.1957, allocations: 28 kB / 0.567 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006403/0.1963, allocations: 449.1 kB / 0.5674 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.1964, allocations: 0 / 0.5674 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/0.1964, allocations: 12 kB / 0.5674 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/0.1965, allocations: 40.52 kB / 0.5674 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005298/0.1971, allocations: 349.9 kB / 0.5678 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00243/0.1995, allocations: 2.195 MB / 0.5699 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000443/0.2, allocations: 281.7 kB / 0.5702 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.2002, allocations: 157.2 kB / 0.5703 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.2002, allocations: 192 / 0.5703 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.2003, allocations: 42.75 kB / 0.5704 GB, free: 13.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.052e-06/0.2003, allocations: 0 / 0.5704 GB, free: 13.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001744/0.202, allocations: 1.045 MB / 0.5714 GB, free: 12.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.2021, allocations: 59.27 kB / 0.5714 GB, free: 12.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.2023, allocations: 252.9 kB / 0.5717 GB, free: 12.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.2024, allocations: 29.7 kB / 0.5717 GB, free: 12.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.2025, allocations: 191.9 kB / 0.5719 GB, free: 12.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.573e-05/0.2026, allocations: 78.84 kB / 0.572 GB, free: 11.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.2026, allocations: 12 kB / 0.572 GB, free: 11.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2027, allocations: 330.8 kB / 0.5723 GB, free: 11.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.203, allocations: 151.9 kB / 0.5724 GB, free: 11.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.2032, allocations: 242.2 kB / 0.5727 GB, free: 11.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.2035, allocations: 181.3 kB / 0.5729 GB, free: 11.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2035, allocations: 7.938 kB / 0.5729 GB, free: 11.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001037/0.2046, allocations: 0.5897 MB / 0.5734 GB, free: 10.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.2046, allocations: 10.12 kB / 0.5734 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.2046, allocations: 4 kB / 0.5734 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006312/0.2053, allocations: 180.9 kB / 0.5736 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.2056, allocations: 67.89 kB / 0.5737 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002869/0.2084, allocations: 2.295 MB / 0.5759 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.2087, allocations: 24.05 kB / 0.576 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.2087, allocations: 12 kB / 0.576 GB, free: 7.727 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.0002103/0.209, allocations: 169.7 kB / 0.5761 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.965e-05/0.209, allocations: 19.72 kB / 0.5761 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005499/0.2096, allocations: 358.9 kB / 0.5765 GB, free: 7.176 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.2096, allocations: 4 kB / 0.5765 GB, free: 7.172 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.2096, allocations: 0 / 0.5765 GB, free: 7.172 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2096, allocations: 4 kB / 0.5765 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.2106, allocations: 0.8098 MB / 0.5773 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2106, allocations: 0 / 0.5773 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/0.211, allocations: 75.88 kB / 0.5774 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.211, allocations: 4 kB / 0.5774 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.2111, allocations: 8 kB / 0.5774 GB, free: 6.211 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2111, allocations: 3.938 kB / 0.5774 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2111, allocations: 0 / 0.5774 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007552/0.2118, allocations: 0.615 MB / 0.578 GB, free: 5.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.212, allocations: 124.8 kB / 0.5781 GB, free: 5.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.212, allocations: 8 kB / 0.5781 GB, free: 5.422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.2122, allocations: 11.98 kB / 0.5781 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.2123, allocations: 16.03 kB / 0.5781 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.2123, allocations: 19.97 kB / 0.5781 GB, free: 5.375 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.2125, allocations: 176.5 kB / 0.5783 GB, free: 5.203 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2125, allocations: 0 / 0.5783 GB, free: 5.203 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004152/0.2129, allocations: 88 kB / 0.5784 GB, free: 5.117 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.0002234/0.2132, allocations: 115.1 kB / 0.5785 GB, free: 4.992 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009292/0.2141, allocations: 0.5262 MB / 0.579 GB, free: 4.453 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2141, allocations: 7.938 kB / 0.579 GB, free: 4.445 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.2143, allocations: 149.7 kB / 0.5792 GB, free: 4.301 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.2148, allocations: 48.41 kB / 0.5792 GB, free: 4.254 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.2164, allocations: 0.9952 MB / 0.5802 GB, free: 3.223 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.2168, allocations: 0.7951 MB / 0.581 GB, free: 2.398 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.217, allocations: 82.84 kB / 0.581 GB, free: 2.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.578e-05/0.2171, allocations: 23.44 kB / 0.5811 GB, free: 2.297 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2171, allocations: 0 / 0.5811 GB, free: 2.297 MB / 446.1 MB Notification: Performance of Templates: time 0.304/0.521, allocations: 3.643 MB / 0.5846 GB, free: 30.39 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)