Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008932/0.0008935, allocations: 98.81 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.001246/0.001245, allocations: 185.5 kB / 16.92 MB, free: 6.754 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.457/1.457, allocations: 223.2 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7197/0.7197, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003303, allocations: 8.75 kB / 495.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1973, allocations: 77.53 MB / 0.56 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003644/0.201, allocations: 2.747 MB / 0.5626 GB, free: 6.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003171/0.2042, allocations: 1.883 MB / 0.5645 GB, free: 4.375 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.2044, allocations: 7.938 kB / 0.5645 GB, free: 4.367 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.2046, allocations: 27.78 kB / 0.5645 GB, free: 4.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005383/0.2051, allocations: 187.2 kB / 0.5647 GB, free: 4.156 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005998/0.2057, allocations: 211.5 kB / 0.5649 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004985/0.2062, allocations: 446.7 kB / 0.5653 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006508/0.2069, allocations: 337.9 kB / 0.5656 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.2071, allocations: 103.5 kB / 0.5657 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003067/0.2074, allocations: 147.4 kB / 0.5659 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.2074, allocations: 12 kB / 0.5659 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007091/0.2081, allocations: 471.1 kB / 0.5663 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.3e-05/0.2082, allocations: 75.8 kB / 0.5664 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.2084, allocations: 137 kB / 0.5665 GB, free: 2.227 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005824/0.209, allocations: 490.6 kB / 0.567 GB, free: 1.746 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.209, allocations: 0 / 0.567 GB, free: 1.746 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.209, allocations: 0 / 0.567 GB, free: 1.746 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.209, allocations: 0 / 0.567 GB, free: 1.746 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009137/0.2099, allocations: 0.5263 MB / 0.5675 GB, free: 1.172 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.21, allocations: 8.031 kB / 0.5675 GB, free: 1.164 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008382/0.2108, allocations: 116.5 kB / 0.5676 GB, free: 1.051 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.2112, allocations: 264.6 kB / 0.5679 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.2112, allocations: 12.81 kB / 0.5679 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.2113, allocations: 20.38 kB / 0.5679 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005768/0.2119, allocations: 357 kB / 0.5683 GB, free: 360 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2119, allocations: 4 kB / 0.5683 GB, free: 356 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.2119, allocations: 8 kB / 0.5683 GB, free: 348 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.32e-05/0.212, allocations: 20.42 kB / 0.5683 GB, free: 328 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004561/0.2124, allocations: 297.5 kB / 0.5686 GB, free: 32 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002248/0.2147, allocations: 1.745 MB / 0.5703 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.2152, allocations: 320.9 kB / 0.5706 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.2154, allocations: 113.9 kB / 0.5707 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.2155, allocations: 93.03 kB / 0.5708 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.2155, allocations: 30.56 kB / 0.5708 GB, free: 13.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.983e-06/0.2155, allocations: 0 / 0.5708 GB, free: 13.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.002559/0.2181, allocations: 0.9766 MB / 0.5718 GB, free: 12.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.2182, allocations: 84.98 kB / 0.5719 GB, free: 12.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.2184, allocations: 212.5 kB / 0.5721 GB, free: 12.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.2185, allocations: 33.7 kB / 0.5721 GB, free: 12.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.2186, allocations: 176 kB / 0.5723 GB, free: 11.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.796e-05/0.2187, allocations: 70.86 kB / 0.5723 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.385e-05/0.2188, allocations: 37.7 kB / 0.5724 GB, free: 11.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2189, allocations: 330.8 kB / 0.5727 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.2191, allocations: 131.9 kB / 0.5728 GB, free: 11.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.2194, allocations: 206.2 kB / 0.573 GB, free: 11.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004909/0.2199, allocations: 369.2 kB / 0.5733 GB, free: 10.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2199, allocations: 0 / 0.5733 GB, free: 10.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009102/0.2208, allocations: 0.5112 MB / 0.5738 GB, free: 10.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.2208, allocations: 9.875 kB / 0.5739 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2209, allocations: 0 / 0.5739 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005675/0.2214, allocations: 159.7 kB / 0.574 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.2217, allocations: 55.91 kB / 0.5741 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003433/0.2252, allocations: 3.977 MB / 0.5779 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.2254, allocations: 23.97 kB / 0.578 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.2254, allocations: 12 kB / 0.578 GB, free: 5.66 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002078/0.2256, allocations: 165.7 kB / 0.5781 GB, free: 5.488 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-05/0.2257, allocations: 19.81 kB / 0.5782 GB, free: 5.469 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000925/0.2267, allocations: 470.6 kB / 0.5786 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2267, allocations: 0 / 0.5786 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.2267, allocations: 8 kB / 0.5786 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.2267, allocations: 3.984 kB / 0.5786 GB, free: 4.984 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.2284, allocations: 1.015 MB / 0.5796 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.2284, allocations: 4 kB / 0.5796 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.2286, allocations: 27.98 kB / 0.5796 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004516/0.229, allocations: 147.5 kB / 0.5798 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.2291, allocations: 15.92 kB / 0.5798 GB, free: 3.672 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3708/0.5999, allocations: 3.932 MB / 0.5836 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.5999, allocations: 5.062 kB / 0.5836 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009631/0.6009, allocations: 0.6188 MB / 0.5842 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.601, allocations: 125.3 kB / 0.5844 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.6011, allocations: 9.078 kB / 0.5844 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.6013, allocations: 25.92 kB / 0.5844 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.6014, allocations: 24.42 kB / 0.5844 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.6014, allocations: 11.16 kB / 0.5844 GB, free: 29.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.6016, allocations: 152.8 kB / 0.5846 GB, free: 29.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.41e-07/0.6016, allocations: 5.156 kB / 0.5846 GB, free: 29.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005803/0.6022, allocations: 89.61 kB / 0.5847 GB, free: 29.01 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002236/0.6024, allocations: 132.5 kB / 0.5848 GB, free: 28.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.6035, allocations: 0.5827 MB / 0.5854 GB, free: 28.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.6035, allocations: 1.219 kB / 0.5854 GB, free: 28.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005546/0.6041, allocations: 409.1 kB / 0.5858 GB, free: 28.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.6046, allocations: 45.61 kB / 0.5858 GB, free: 28.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.6059, allocations: 0.7481 MB / 0.5865 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.6063, allocations: 0.7857 MB / 0.5873 GB, free: 27.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002121/0.6065, allocations: 57.44 kB / 0.5874 GB, free: 27.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.087e-05/0.6066, allocations: 21.62 kB / 0.5874 GB, free: 27.38 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.6066, allocations: 0.875 kB / 0.5874 GB, free: 27.38 MB / 446.1 MB Notification: Performance of Templates: time 0.01136/0.6179, allocations: 3.944 MB / 0.5912 GB, free: 27.19 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)