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.001048/0.001048, allocations: 92.95 kB / 16.02 MB, free: 84 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.001428/0.001428, allocations: 182 kB / 16.91 MB, free: 6.914 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.459/1.459, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6818/0.6818, allocations: 115.5 MB / 407.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003799, allocations: 8 kB / 495.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1961, allocations: 77.54 MB / 0.56 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005987/0.2021, allocations: 4.461 MB / 0.5643 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004605/0.2068, allocations: 2.425 MB / 0.5667 GB, free: 2.109 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006477/0.2075, allocations: 19.81 kB / 0.5667 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004436/0.2079, allocations: 87.2 kB / 0.5668 GB, free: 2.004 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.2096, allocations: 414 kB / 0.5672 GB, free: 1.598 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.2109, allocations: 346.5 kB / 0.5675 GB, free: 1.262 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001703/0.2126, allocations: 1.128 MB / 0.5686 GB, free: 136 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.2139, allocations: 468.3 kB / 0.5691 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008544/0.2148, allocations: 298.5 kB / 0.5694 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000763/0.2156, allocations: 326.5 kB / 0.5697 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.2157, allocations: 23.98 kB / 0.5697 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.217, allocations: 495 kB / 0.5702 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003072/0.2173, allocations: 159.5 kB / 0.5703 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006106/0.2179, allocations: 315.9 kB / 0.5706 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.2195, allocations: 0.8876 MB / 0.5715 GB, free: 13.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2195, allocations: 0 / 0.5715 GB, free: 13.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2195, allocations: 4 kB / 0.5715 GB, free: 13.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.812e-05/0.2196, allocations: 0 / 0.5715 GB, free: 13.16 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.001914/0.2215, allocations: 0.8141 MB / 0.5723 GB, free: 12.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/0.2216, allocations: 11.97 kB / 0.5723 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/0.2232, allocations: 211.8 kB / 0.5725 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009609/0.2242, allocations: 486.4 kB / 0.573 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/0.2242, allocations: 37.36 kB / 0.573 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/0.2244, allocations: 44.36 kB / 0.573 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.2259, allocations: 0.8524 MB / 0.5739 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/0.2259, allocations: 15.83 kB / 0.5739 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.089e-05/0.226, allocations: 20 kB / 0.5739 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.2261, allocations: 60.97 kB / 0.574 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.2272, allocations: 0.5773 MB / 0.5745 GB, free: 9.828 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005753/0.233, allocations: 5.643 MB / 0.58 GB, free: 3.793 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007765/0.2338, allocations: 454.3 kB / 0.5805 GB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004935/0.2343, allocations: 232.7 kB / 0.5807 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.2343, allocations: 7.938 kB / 0.5807 GB, free: 3.102 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.633e-05/0.2344, allocations: 30.56 kB / 0.5807 GB, free: 3.062 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 2.905e-06/0.2344, allocations: 0 / 0.5807 GB, free: 3.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002712/0.2371, allocations: 1.508 MB / 0.5822 GB, free: 1.438 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.2372, allocations: 59.69 kB / 0.5823 GB, free: 1.367 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005854/0.2378, allocations: 0.4911 MB / 0.5827 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.2378, allocations: 29.7 kB / 0.5828 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002907/0.2381, allocations: 358.8 kB / 0.5831 GB, free: 484 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.2382, allocations: 122.3 kB / 0.5832 GB, free: 360 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-05/0.2384, allocations: 49.69 kB / 0.5833 GB, free: 304 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.3197/0.5581, allocations: 362.8 kB / 0.5836 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004732/0.5586, allocations: 194.7 kB / 0.5838 GB, free: 30.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005509/0.5592, allocations: 448.3 kB / 0.5842 GB, free: 30.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009217/0.5601, allocations: 0.6837 MB / 0.5849 GB, free: 30.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.5601, allocations: 8.953 kB / 0.5849 GB, free: 30.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001558/0.5617, allocations: 0.8102 MB / 0.5857 GB, free: 30.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.5617, allocations: 8.844 kB / 0.5857 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.5618, allocations: 7.812 kB / 0.5857 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005337/0.5623, allocations: 157.4 kB / 0.5859 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.5628, allocations: 119.4 kB / 0.586 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/0.5653, allocations: 4.039 MB / 0.5899 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004494/0.5658, allocations: 34.03 kB / 0.59 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.5658, allocations: 36.73 kB / 0.59 GB, free: 26.35 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.0002704/0.5661, allocations: 218.6 kB / 0.5902 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.125e-05/0.5662, allocations: 62.33 kB / 0.5903 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.5673, allocations: 0.5946 MB / 0.5908 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.5673, allocations: 3.344 kB / 0.5908 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5673, allocations: 2.406 kB / 0.5908 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5673, allocations: 6.266 kB / 0.5909 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.5691, allocations: 1.259 MB / 0.5921 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.5691, allocations: 2.594 kB / 0.5921 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002712/0.5694, allocations: 50.61 kB / 0.5921 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004108/0.5698, allocations: 150.8 kB / 0.5923 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.5699, allocations: 7.625 kB / 0.5923 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/0.5723, allocations: 4.03 MB / 0.5962 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.5723, allocations: 6.719 kB / 0.5962 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.5734, allocations: 0.7013 MB / 0.5969 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.5736, allocations: 170.8 kB / 0.5971 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.053e-05/0.5736, allocations: 8.406 kB / 0.5971 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.5739, allocations: 31.48 kB / 0.5971 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.079e-05/0.574, allocations: 30.83 kB / 0.5971 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.574, allocations: 9.359 kB / 0.5971 GB, free: 20.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004182/0.5745, allocations: 333.2 kB / 0.5975 GB, free: 20.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5745, allocations: 0 / 0.5975 GB, free: 20.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000762/0.5752, allocations: 138.6 kB / 0.5976 GB, free: 20.64 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 (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.0001757/0.5754, allocations: 117.3 kB / 0.5977 GB, free: 20.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.5771, allocations: 1.033 MB / 0.5987 GB, free: 19.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5771, allocations: 0 / 0.5987 GB, free: 19.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007856/0.5779, allocations: 0.7371 MB / 0.5994 GB, free: 19.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.5791, allocations: 190 kB / 0.5996 GB, free: 19.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.5809, allocations: 1.274 MB / 0.6009 GB, free: 18.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.5814, allocations: 0.9057 MB / 0.6017 GB, free: 17.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004775/0.5819, allocations: 117.4 kB / 0.6019 GB, free: 17.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.582, allocations: 39.75 kB / 0.6019 GB, free: 17.61 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/0.582, allocations: 0.5312 kB / 0.6019 GB, free: 17.61 MB / 446.1 MB Notification: Performance of Templates: time 0.0159/0.5979, allocations: 7.259 MB / 0.609 GB, free: 16.47 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)