Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009392/0.0009393, allocations: 95.72 kB / 15.69 MB, free: 476 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.001014/0.001014, allocations: 176.5 kB / 16.57 MB, free: 6.855 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.424/1.424, allocations: 223.2 MB / 240.5 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6977/0.6977, allocations: 113.8 MB / 405.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003299, allocations: 8 kB / 493.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1859, allocations: 77.15 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004457/0.1904, allocations: 4.098 MB / 0.5608 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003241/0.1936, allocations: 2.274 MB / 0.5631 GB, free: 5.238 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000321/0.194, allocations: 19.81 kB / 0.5631 GB, free: 5.219 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.1942, allocations: 67.45 kB / 0.5632 GB, free: 5.152 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008298/0.195, allocations: 370.9 kB / 0.5635 GB, free: 4.789 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006735/0.1957, allocations: 286.6 kB / 0.5638 GB, free: 4.512 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008045/0.1965, allocations: 0.5835 MB / 0.5643 GB, free: 3.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006862/0.1972, allocations: 420.3 kB / 0.5647 GB, free: 3.492 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003521/0.1976, allocations: 274.8 kB / 0.565 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004353/0.198, allocations: 286.8 kB / 0.5653 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.373e-05/0.1981, allocations: 20 kB / 0.5653 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003256/0.1984, allocations: 147.8 kB / 0.5654 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.1986, allocations: 147.5 kB / 0.5656 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.1987, allocations: 141.3 kB / 0.5657 GB, free: 2.488 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005428/0.1992, allocations: 0.5847 MB / 0.5663 GB, free: 1.902 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.1993, allocations: 0 / 0.5663 GB, free: 1.902 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1993, allocations: 0 / 0.5663 GB, free: 1.902 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1993, allocations: 0 / 0.5663 GB, free: 1.902 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0012/0.2005, allocations: 0.8216 MB / 0.5671 GB, free: 1.031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.2005, allocations: 16.02 kB / 0.5671 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009347/0.2015, allocations: 171 kB / 0.5673 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007172/0.2022, allocations: 481.3 kB / 0.5677 GB, free: 348 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.2023, allocations: 29 kB / 0.5678 GB, free: 316 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.309e-05/0.2023, allocations: 47.98 kB / 0.5678 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.2033, allocations: 0.8364 MB / 0.5686 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.2034, allocations: 11.89 kB / 0.5686 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.469e-05/0.2034, allocations: 23.98 kB / 0.5687 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-05/0.2035, allocations: 60.95 kB / 0.5687 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007566/0.2043, allocations: 0.5695 MB / 0.5693 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004344/0.2087, allocations: 5.651 MB / 0.5748 GB, free: 8.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006217/0.2093, allocations: 458.2 kB / 0.5752 GB, free: 8.133 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.2093, allocations: 4 kB / 0.5752 GB, free: 8.129 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.2094, allocations: 34.56 kB / 0.5753 GB, free: 8.086 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 2.013e-06/0.2094, allocations: 0 / 0.5753 GB, free: 8.086 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002605/0.212, allocations: 1.497 MB / 0.5767 GB, free: 6.473 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.2121, allocations: 63.62 kB / 0.5768 GB, free: 6.398 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005106/0.2126, allocations: 494.9 kB / 0.5773 GB, free: 5.902 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.2126, allocations: 29.7 kB / 0.5773 GB, free: 5.867 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.2129, allocations: 354.8 kB / 0.5776 GB, free: 5.516 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.469e-05/0.213, allocations: 118.3 kB / 0.5777 GB, free: 5.398 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.213, allocations: 8 kB / 0.5777 GB, free: 5.391 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.2132, allocations: 366.8 kB / 0.5781 GB, free: 5.023 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/0.2135, allocations: 193.2 kB / 0.5783 GB, free: 4.832 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.2139, allocations: 443.3 kB / 0.5787 GB, free: 4.285 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.2143, allocations: 263.7 kB / 0.579 GB, free: 4.027 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2143, allocations: 4 kB / 0.579 GB, free: 4.023 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001139/0.2154, allocations: 0.8016 MB / 0.5797 GB, free: 3.199 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.2154, allocations: 18.44 kB / 0.5798 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.2155, allocations: 12 kB / 0.5798 GB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004608/0.2159, allocations: 148.7 kB / 0.5799 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004472/0.2164, allocations: 131.7 kB / 0.58 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3433/0.5597, allocations: 4.055 MB / 0.584 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005879/0.5603, allocations: 36.61 kB / 0.584 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.48e-05/0.5604, allocations: 26.97 kB / 0.5841 GB, free: 30.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002931/0.5607, allocations: 217.5 kB / 0.5843 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.42e-05/0.5608, allocations: 59.78 kB / 0.5843 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.5619, allocations: 0.5912 MB / 0.5849 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.562, allocations: 3.094 kB / 0.5849 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.562, allocations: 1.562 kB / 0.5849 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.562, allocations: 7.156 kB / 0.5849 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.564, allocations: 1.244 MB / 0.5861 GB, free: 29.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.5641, allocations: 2.344 kB / 0.5861 GB, free: 29.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.5644, allocations: 60.47 kB / 0.5862 GB, free: 29.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004418/0.5648, allocations: 145.5 kB / 0.5863 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.5648, allocations: 7.188 kB / 0.5863 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/0.5674, allocations: 4.059 MB / 0.5903 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.5674, allocations: 2.562 kB / 0.5903 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.5687, allocations: 0.7912 MB / 0.5911 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002981/0.569, allocations: 171.2 kB / 0.5912 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/0.569, allocations: 8.609 kB / 0.5912 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.5693, allocations: 21.48 kB / 0.5913 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.5694, allocations: 37.31 kB / 0.5913 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.5695, allocations: 8.859 kB / 0.5913 GB, free: 25.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005507/0.57, allocations: 329.5 kB / 0.5916 GB, free: 25.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5701, allocations: 1 kB / 0.5916 GB, free: 25.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000789/0.5708, allocations: 145.5 kB / 0.5918 GB, free: 25.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * 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): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001817/0.571, allocations: 108.8 kB / 0.5919 GB, free: 25.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001771/0.5728, allocations: 1.031 MB / 0.5929 GB, free: 24.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5728, allocations: 0 / 0.5929 GB, free: 24.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.5739, allocations: 0.731 MB / 0.5936 GB, free: 23.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.5749, allocations: 178.3 kB / 0.5938 GB, free: 23.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.577, allocations: 1.222 MB / 0.5949 GB, free: 23.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006227/0.5777, allocations: 0.9205 MB / 0.5958 GB, free: 22.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004778/0.5781, allocations: 118 kB / 0.596 GB, free: 22.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.5783, allocations: 39.22 kB / 0.596 GB, free: 22.44 MB / 446.1 MB Notification: Performance of SimCode: time 1.703e-06/0.5783, allocations: 0 / 0.596 GB, free: 22.44 MB / 446.1 MB Notification: Performance of Templates: time 0.0169/0.5952, allocations: 7.017 MB / 0.6028 GB, free: 21.8 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)