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.001107/0.001107, allocations: 99.05 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.001377/0.001377, allocations: 181.3 kB / 16.92 MB, free: 6.781 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.541/1.541, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.804/0.804, allocations: 126.9 MB / 418.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003583, allocations: 8 kB / 0.498 GB, free: 9.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4994/0.4997, allocations: 80.24 MB / 0.5763 GB, free: 7.887 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004861/0.5047, allocations: 4.455 MB / 0.5807 GB, free: 4.742 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004093/0.5088, allocations: 2.433 MB / 0.5831 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006113/0.5094, allocations: 20.41 kB / 0.5831 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.5098, allocations: 90.23 kB / 0.5832 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.511, allocations: 412.3 kB / 0.5836 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.5123, allocations: 348.7 kB / 0.5839 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001742/0.5141, allocations: 1.128 MB / 0.585 GB, free: 2.156 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008829/0.515, allocations: 455.5 kB / 0.5854 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005658/0.5156, allocations: 299.9 kB / 0.5857 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005247/0.5161, allocations: 338.8 kB / 0.586 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.806e-05/0.5162, allocations: 20.06 kB / 0.5861 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.5172, allocations: 493.8 kB / 0.5865 GB, free: 1.469 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.5174, allocations: 155 kB / 0.5867 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003012/0.5178, allocations: 322.1 kB / 0.587 GB, free: 1.211 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.519, allocations: 0.8778 MB / 0.5878 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.519, allocations: 0.625 kB / 0.5878 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.519, allocations: 0 / 0.5878 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.519, allocations: 0.6875 kB / 0.5878 GB, free: 0.9414 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.001279/0.5203, allocations: 0.8245 MB / 0.5887 GB, free: 312 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.5204, allocations: 8.5 kB / 0.5887 GB, free: 312 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.5217, allocations: 206.4 kB / 0.5889 GB, free: 264 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007675/0.5225, allocations: 0.4917 MB / 0.5893 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.104e-05/0.5226, allocations: 34.98 kB / 0.5894 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.5227, allocations: 44.89 kB / 0.5894 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.5241, allocations: 0.8488 MB / 0.5902 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.5241, allocations: 8.828 kB / 0.5903 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-05/0.5242, allocations: 19.88 kB / 0.5903 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001223/0.5243, allocations: 65.58 kB / 0.5903 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.5254, allocations: 0.568 MB / 0.5909 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006216/0.5316, allocations: 5.649 MB / 0.5964 GB, free: 9.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007663/0.5324, allocations: 450.8 kB / 0.5968 GB, free: 9.762 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/0.5328, allocations: 232.8 kB / 0.5971 GB, free: 9.672 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.5328, allocations: 6.875 kB / 0.5971 GB, free: 9.668 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.5329, allocations: 39.84 kB / 0.5971 GB, free: 9.621 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 2.415e-06/0.5329, allocations: 0 / 0.5971 GB, free: 9.621 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002977/0.5359, allocations: 1.507 MB / 0.5986 GB, free: 8.688 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.5359, allocations: 59.44 kB / 0.5986 GB, free: 8.621 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005882/0.5365, allocations: 0.4931 MB / 0.5991 GB, free: 8.383 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.5366, allocations: 30.73 kB / 0.5991 GB, free: 8.348 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/0.5369, allocations: 353.4 kB / 0.5995 GB, free: 8.062 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.537, allocations: 121.6 kB / 0.5996 GB, free: 7.969 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.582e-05/0.5371, allocations: 52.67 kB / 0.5996 GB, free: 7.934 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.5373, allocations: 365 kB / 0.6 GB, free: 7.598 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.5376, allocations: 193.3 kB / 0.6002 GB, free: 7.539 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/0.5382, allocations: 450.5 kB / 0.6006 GB, free: 7.141 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009318/0.5391, allocations: 0.6849 MB / 0.6013 GB, free: 6.617 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.5391, allocations: 2.281 kB / 0.6013 GB, free: 6.617 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001444/0.5406, allocations: 0.818 MB / 0.6021 GB, free: 6.207 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.5406, allocations: 9.469 kB / 0.6021 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.5406, allocations: 8.5 kB / 0.6021 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005413/0.5412, allocations: 157.4 kB / 0.6022 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.5417, allocations: 123.1 kB / 0.6024 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003724/0.5454, allocations: 4.039 MB / 0.6063 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004868/0.5459, allocations: 36.84 kB / 0.6063 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/0.546, allocations: 27.84 kB / 0.6064 GB, free: 1.941 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003413/0.5463, allocations: 216.3 kB / 0.6066 GB, free: 1.762 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.6e-05/0.5464, allocations: 56.84 kB / 0.6066 GB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.5476, allocations: 0.6016 MB / 0.6072 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.5476, allocations: 4.375 kB / 0.6072 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5476, allocations: 1.125 kB / 0.6072 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.5476, allocations: 9.109 kB / 0.6072 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.5497, allocations: 1.257 MB / 0.6085 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/0.5497, allocations: 3.062 kB / 0.6085 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.55, allocations: 62.2 kB / 0.6085 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004407/0.5505, allocations: 140.8 kB / 0.6087 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.5505, allocations: 10.94 kB / 0.6087 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00359/0.5541, allocations: 4.033 MB / 0.6126 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5541, allocations: 2.594 kB / 0.6126 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.5553, allocations: 0.707 MB / 0.6133 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002733/0.5556, allocations: 165.1 kB / 0.6135 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.775e-05/0.5557, allocations: 15.48 kB / 0.6135 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.556, allocations: 27.09 kB / 0.6135 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.763e-05/0.5561, allocations: 29.53 kB / 0.6135 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.5561, allocations: 11.56 kB / 0.6135 GB, free: 11.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004343/0.5565, allocations: 335.2 kB / 0.6139 GB, free: 11.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5565, allocations: 0 / 0.6139 GB, free: 11.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007502/0.5573, allocations: 138.3 kB / 0.614 GB, free: 11.29 MB / 462.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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001583/0.5575, allocations: 113.6 kB / 0.6141 GB, free: 11.19 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001574/0.5591, allocations: 1.031 MB / 0.6151 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.5591, allocations: 0 / 0.6151 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009835/0.5601, allocations: 0.7504 MB / 0.6158 GB, free: 9.707 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.5612, allocations: 188.4 kB / 0.616 GB, free: 9.613 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.5631, allocations: 1.262 MB / 0.6172 GB, free: 8.699 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/0.5637, allocations: 0.9074 MB / 0.6181 GB, free: 7.898 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004098/0.5641, allocations: 113.6 kB / 0.6182 GB, free: 7.848 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.5643, allocations: 38.91 kB / 0.6183 GB, free: 7.84 MB / 462.1 MB Notification: Performance of SimCode: time 2.374e-06/0.5643, allocations: 4 kB / 0.6183 GB, free: 7.836 MB / 462.1 MB Notification: Performance of Templates: time 0.01574/0.58, allocations: 7.266 MB / 0.6254 GB, free: 2.969 MB / 462.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)