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.001372/0.001372, allocations: 109.7 kB / 16.53 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.001253/0.001253, 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.276/1.276, allocations: 222.9 MB / 241.1 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6981/0.6981, allocations: 115.3 MB / 406.6 MB, free: 6.5 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 67.91 kB / 493.6 MB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3191, allocations: 76.16 MB / 0.5564 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003928/0.3231, allocations: 3.296 MB / 0.5596 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.3255, allocations: 1.872 MB / 0.5614 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.3256, allocations: 4.312 kB / 0.5614 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007592/0.3264, allocations: 276.6 kB / 0.5617 GB, free: 32.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.3268, allocations: 202.2 kB / 0.5619 GB, free: 31.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005391/0.3273, allocations: 260 kB / 0.5621 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005222/0.3279, allocations: 0.567 MB / 0.5627 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000486/0.3284, allocations: 197.9 kB / 0.5629 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.3287, allocations: 139.4 kB / 0.563 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004272/0.3291, allocations: 201.8 kB / 0.5632 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.817e-05/0.3291, allocations: 16.25 kB / 0.5632 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005237/0.3297, allocations: 279.8 kB / 0.5635 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.3298, allocations: 113.7 kB / 0.5636 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.33, allocations: 137 kB / 0.5637 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005301/0.3306, allocations: 366 kB / 0.5641 GB, free: 31.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3306, allocations: 0 / 0.5641 GB, free: 31.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.3306, allocations: 0 / 0.5641 GB, free: 31.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3306, allocations: 3.438 kB / 0.5641 GB, free: 31.12 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001169/0.3318, allocations: 0.5968 MB / 0.5647 GB, free: 30.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3318, allocations: 13.62 kB / 0.5647 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008039/0.3326, allocations: 93.33 kB / 0.5648 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.3329, allocations: 274.5 kB / 0.565 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.333, allocations: 22.67 kB / 0.565 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.3331, allocations: 35.27 kB / 0.5651 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006343/0.3337, allocations: 440.5 kB / 0.5655 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.3338, allocations: 1.688 kB / 0.5655 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.3338, allocations: 13.53 kB / 0.5655 GB, free: 30.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001472/0.334, allocations: 44.83 kB / 0.5656 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005296/0.3345, allocations: 350.8 kB / 0.5659 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.3366, allocations: 2.206 MB / 0.568 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.337, allocations: 268.7 kB / 0.5683 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.3372, allocations: 161.2 kB / 0.5685 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.3372, allocations: 2.156 kB / 0.5685 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/0.3373, allocations: 37.53 kB / 0.5685 GB, free: 27.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.3373, allocations: 1.906 kB / 0.5685 GB, free: 27.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001709/0.339, allocations: 1.057 MB / 0.5695 GB, free: 27.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.339, allocations: 58.42 kB / 0.5696 GB, free: 27.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.3393, allocations: 250 kB / 0.5698 GB, free: 27.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.3393, allocations: 30.86 kB / 0.5698 GB, free: 27.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.3394, allocations: 187.3 kB / 0.57 GB, free: 26.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.555e-05/0.3395, allocations: 82.27 kB / 0.5701 GB, free: 26.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.3396, allocations: 73.2 kB / 0.5702 GB, free: 26.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.851e-05/0.3397, allocations: 336.4 kB / 0.5705 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.3399, allocations: 152 kB / 0.5706 GB, free: 26.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.3402, allocations: 237 kB / 0.5709 GB, free: 26.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000508/0.3407, allocations: 404.6 kB / 0.5713 GB, free: 26.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3407, allocations: 5.906 kB / 0.5713 GB, free: 26.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001192/0.3419, allocations: 0.5917 MB / 0.5718 GB, free: 25.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.342, allocations: 7.094 kB / 0.5718 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.342, allocations: 3.125 kB / 0.5718 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007399/0.3427, allocations: 190.3 kB / 0.572 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.343, allocations: 64.31 kB / 0.5721 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/0.3456, allocations: 2.301 MB / 0.5743 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.346, allocations: 18.52 kB / 0.5744 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.346, allocations: 16.45 kB / 0.5744 GB, free: 24.05 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.0001863/0.3462, allocations: 166 kB / 0.5745 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.186e-05/0.3463, allocations: 27.78 kB / 0.5746 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005347/0.3468, allocations: 348.1 kB / 0.5749 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3468, allocations: 2.75 kB / 0.5749 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.3468, allocations: 1.375 kB / 0.5749 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.3468, allocations: 6.578 kB / 0.5749 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009781/0.3478, allocations: 0.8143 MB / 0.5757 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3478, allocations: 1.344 kB / 0.5757 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/0.3482, allocations: 69.23 kB / 0.5758 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.3483, allocations: 2.344 kB / 0.5758 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.3483, allocations: 8.719 kB / 0.5758 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.3483, allocations: 6.969 kB / 0.5758 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3483, allocations: 7.875 kB / 0.5758 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006899/0.349, allocations: 0.6167 MB / 0.5764 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.3491, allocations: 130.4 kB / 0.5765 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.3492, allocations: 9.438 kB / 0.5765 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.3494, allocations: 10.2 kB / 0.5765 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.3494, allocations: 20.17 kB / 0.5765 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.3495, allocations: 6.109 kB / 0.5766 GB, free: 22.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.3496, allocations: 187.3 kB / 0.5767 GB, free: 22.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3496, allocations: 0 / 0.5767 GB, free: 22.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000434/0.3501, allocations: 92.66 kB / 0.5768 GB, free: 22.63 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.0001541/0.3502, allocations: 105.2 kB / 0.5769 GB, free: 22.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008721/0.3511, allocations: 0.5268 MB / 0.5774 GB, free: 22.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3511, allocations: 1.312 kB / 0.5774 GB, free: 22.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.3513, allocations: 147.9 kB / 0.5776 GB, free: 22.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.3518, allocations: 53.14 kB / 0.5776 GB, free: 22.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.3532, allocations: 0.983 MB / 0.5786 GB, free: 21.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.3535, allocations: 0.7932 MB / 0.5794 GB, free: 20.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.3536, allocations: 31.03 kB / 0.5794 GB, free: 20.86 MB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3536, allocations: 0 / 0.5794 GB, free: 20.86 MB / 446.1 MB Notification: Performance of Templates: time 0.007485/0.3611, allocations: 4.421 MB / 0.5837 GB, free: 20.05 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)