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.0008426/0.0008426, allocations: 88.17 kB / 15.7 MB, free: 460 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.0009591/0.0009592, allocations: 172.6 kB / 16.58 MB, free: 6.797 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.403/1.403, allocations: 223.3 MB / 240.6 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.7858/0.7858, allocations: 115.5 MB / 407.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003525, allocations: 8 kB / 495.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1837, allocations: 77.54 MB / 0.5593 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004996/0.1888, allocations: 4.238 MB / 0.5635 GB, free: 5.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003942/0.1928, allocations: 2.301 MB / 0.5657 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004169/0.1932, allocations: 23.81 kB / 0.5657 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.1936, allocations: 87.22 kB / 0.5658 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009782/0.1945, allocations: 346.1 kB / 0.5662 GB, free: 2.402 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000827/0.1954, allocations: 282.4 kB / 0.5664 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.1965, allocations: 0.9641 MB / 0.5674 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008056/0.1973, allocations: 428.2 kB / 0.5678 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004194/0.1978, allocations: 286.7 kB / 0.5681 GB, free: 452 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004437/0.1982, allocations: 334.6 kB / 0.5684 GB, free: 116 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.88e-05/0.1983, allocations: 20 kB / 0.5684 GB, free: 96 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005589/0.1988, allocations: 191.7 kB / 0.5686 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.199, allocations: 159.4 kB / 0.5687 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.1992, allocations: 141.3 kB / 0.5689 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006669/0.1998, allocations: 0.6392 MB / 0.5695 GB, free: 14.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1998, allocations: 0 / 0.5695 GB, free: 14.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1999, allocations: 0 / 0.5695 GB, free: 14.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.1999, allocations: 0 / 0.5695 GB, free: 14.96 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001242/0.2011, allocations: 0.8372 MB / 0.5703 GB, free: 14.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2012, allocations: 12.03 kB / 0.5703 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.2023, allocations: 195 kB / 0.5705 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007093/0.203, allocations: 473.4 kB / 0.5709 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.726e-05/0.2031, allocations: 36.92 kB / 0.571 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.569e-05/0.2032, allocations: 51.98 kB / 0.571 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.2043, allocations: 0.8403 MB / 0.5719 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.2043, allocations: 11.88 kB / 0.5719 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.224e-05/0.2044, allocations: 23.98 kB / 0.5719 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-05/0.2045, allocations: 68.95 kB / 0.572 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008397/0.2053, allocations: 0.5616 MB / 0.5725 GB, free: 11.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005315/0.2106, allocations: 5.65 MB / 0.578 GB, free: 5.605 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007517/0.2114, allocations: 450.2 kB / 0.5785 GB, free: 5.156 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003497/0.2118, allocations: 224.7 kB / 0.5787 GB, free: 4.934 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.2118, allocations: 4 kB / 0.5787 GB, free: 4.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/0.2119, allocations: 38.56 kB / 0.5787 GB, free: 4.883 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 4.869e-06/0.2119, allocations: 0 / 0.5787 GB, free: 4.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002805/0.2147, allocations: 1.497 MB / 0.5802 GB, free: 3.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.2148, allocations: 55.69 kB / 0.5802 GB, free: 3.203 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005271/0.2153, allocations: 494.9 kB / 0.5807 GB, free: 2.707 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.2153, allocations: 33.7 kB / 0.5807 GB, free: 2.668 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.2156, allocations: 358.8 kB / 0.5811 GB, free: 2.312 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.2157, allocations: 122.3 kB / 0.5812 GB, free: 2.191 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.2158, allocations: 12 kB / 0.5812 GB, free: 2.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.216, allocations: 362.8 kB / 0.5815 GB, free: 1.816 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.2163, allocations: 193.2 kB / 0.5817 GB, free: 1.625 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005475/0.2169, allocations: 447.9 kB / 0.5822 GB, free: 1.074 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.2172, allocations: 267.7 kB / 0.5824 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.2173, allocations: 7.938 kB / 0.5824 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.328/0.5453, allocations: 0.7971 MB / 0.5832 GB, free: 30.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.5453, allocations: 13.52 kB / 0.5832 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.5454, allocations: 9.812 kB / 0.5832 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006233/0.546, allocations: 153.9 kB / 0.5834 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005696/0.5466, allocations: 127.4 kB / 0.5835 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002637/0.5492, allocations: 4.031 MB / 0.5874 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005557/0.5498, allocations: 34.52 kB / 0.5875 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/0.5499, allocations: 28.8 kB / 0.5875 GB, free: 26.55 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.0003576/0.5502, allocations: 210.2 kB / 0.5877 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.5504, allocations: 59.97 kB / 0.5877 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.5517, allocations: 0.5962 MB / 0.5883 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.5517, allocations: 4.469 kB / 0.5883 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.5517, allocations: 1.469 kB / 0.5883 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.5517, allocations: 2.656 kB / 0.5883 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.5539, allocations: 1.248 MB / 0.5895 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.5539, allocations: 7.156 kB / 0.5896 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.5541, allocations: 59.09 kB / 0.5896 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004036/0.5545, allocations: 141.2 kB / 0.5897 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.5546, allocations: 8.859 kB / 0.5898 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002485/0.5571, allocations: 4.034 MB / 0.5937 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.5571, allocations: 2.562 kB / 0.5937 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.5582, allocations: 0.7041 MB / 0.5944 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/0.5584, allocations: 170.1 kB / 0.5945 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.5585, allocations: 11.8 kB / 0.5946 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.5587, allocations: 27.19 kB / 0.5946 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/0.5588, allocations: 31.42 kB / 0.5946 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.5588, allocations: 10.81 kB / 0.5946 GB, free: 21.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004082/0.5592, allocations: 328.8 kB / 0.5949 GB, free: 21.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5592, allocations: 1.438 kB / 0.5949 GB, free: 21.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008228/0.5601, allocations: 138.8 kB / 0.5951 GB, free: 21.5 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.0001396/0.5602, allocations: 118 kB / 0.5952 GB, free: 21.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.5616, allocations: 1.029 MB / 0.5962 GB, free: 20.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5616, allocations: 0.7812 kB / 0.5962 GB, free: 20.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006992/0.5623, allocations: 0.739 MB / 0.5969 GB, free: 20.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009488/0.5633, allocations: 185.4 kB / 0.5971 GB, free: 20.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.5648, allocations: 1.219 MB / 0.5983 GB, free: 19.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.5652, allocations: 0.9093 MB / 0.5992 GB, free: 18.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003641/0.5655, allocations: 118.2 kB / 0.5993 GB, free: 18.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.663e-05/0.5656, allocations: 39.77 kB / 0.5993 GB, free: 18.52 MB / 446.1 MB Notification: Performance of SimCode: time 4e-07/0.5656, allocations: 4 kB / 0.5993 GB, free: 18.52 MB / 446.1 MB Notification: Performance of Templates: time 0.01449/0.5801, allocations: 7.028 MB / 0.6062 GB, free: 17.74 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)