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.0009084/0.0009085, allocations: 93.27 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.001138/0.001138, allocations: 179.4 kB / 16.92 MB, free: 6.68 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.394/1.394, 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.7535/0.7535, allocations: 123 MB / 415.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003379, allocations: 16 kB / 0.4933 GB, free: 13.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4415/0.4419, allocations: 79.28 MB / 0.5707 GB, free: 9.926 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004966/0.4469, allocations: 4.464 MB / 0.5751 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003848/0.4508, allocations: 2.429 MB / 0.5775 GB, free: 6.121 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004359/0.4512, allocations: 21.06 kB / 0.5775 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.4515, allocations: 89.81 kB / 0.5776 GB, free: 6.055 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.4526, allocations: 416.2 kB / 0.578 GB, free: 5.824 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009323/0.4536, allocations: 340.9 kB / 0.5783 GB, free: 5.656 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001568/0.4552, allocations: 1.129 MB / 0.5794 GB, free: 5.211 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009755/0.4561, allocations: 459.5 kB / 0.5798 GB, free: 4.961 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005533/0.4567, allocations: 293.6 kB / 0.5801 GB, free: 4.836 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006172/0.4573, allocations: 336.9 kB / 0.5804 GB, free: 4.699 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.456e-05/0.4574, allocations: 23.88 kB / 0.5805 GB, free: 4.695 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.4589, allocations: 494.8 kB / 0.5809 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003122/0.4592, allocations: 158.4 kB / 0.5811 GB, free: 4.465 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004466/0.4596, allocations: 322 kB / 0.5814 GB, free: 4.262 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.461, allocations: 0.8744 MB / 0.5823 GB, free: 3.996 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.461, allocations: 3.938 kB / 0.5823 GB, free: 3.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.461, allocations: 0.6875 kB / 0.5823 GB, free: 3.992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.461, allocations: 0 / 0.5823 GB, free: 3.992 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.001414/0.4625, allocations: 0.8275 MB / 0.5831 GB, free: 3.352 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.4625, allocations: 9.312 kB / 0.5831 GB, free: 3.352 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/0.4641, allocations: 206 kB / 0.5833 GB, free: 3.305 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007428/0.4648, allocations: 491.1 kB / 0.5837 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/0.4649, allocations: 35.45 kB / 0.5838 GB, free: 2.949 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.465, allocations: 49.61 kB / 0.5838 GB, free: 2.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.4664, allocations: 0.8489 MB / 0.5847 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/0.4664, allocations: 11.16 kB / 0.5847 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.205e-05/0.4665, allocations: 20.88 kB / 0.5847 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001339/0.4666, allocations: 70.2 kB / 0.5847 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009266/0.4676, allocations: 0.5633 MB / 0.5853 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004784/0.4724, allocations: 5.653 MB / 0.5908 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007976/0.4732, allocations: 451.9 kB / 0.5913 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003882/0.4736, allocations: 223.5 kB / 0.5915 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.4736, allocations: 3.609 kB / 0.5915 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.4737, allocations: 36.69 kB / 0.5915 GB, free: 12.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 2.234e-06/0.4737, allocations: 4 kB / 0.5915 GB, free: 12.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.003162/0.4768, allocations: 1.517 MB / 0.593 GB, free: 11.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.4769, allocations: 56.25 kB / 0.593 GB, free: 11.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007797/0.4777, allocations: 0.4887 MB / 0.5935 GB, free: 11.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.4777, allocations: 30.95 kB / 0.5935 GB, free: 11.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.478, allocations: 353.3 kB / 0.5939 GB, free: 11.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.4782, allocations: 125.7 kB / 0.594 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.956e-05/0.4782, allocations: 52.73 kB / 0.5941 GB, free: 10.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.4784, allocations: 368.8 kB / 0.5944 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/0.4788, allocations: 193.2 kB / 0.5946 GB, free: 10.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005056/0.4793, allocations: 447.3 kB / 0.595 GB, free: 10.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008465/0.4801, allocations: 0.6877 MB / 0.5957 GB, free: 9.672 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.4801, allocations: 2.406 kB / 0.5957 GB, free: 9.672 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001378/0.4815, allocations: 0.8051 MB / 0.5965 GB, free: 9.316 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.4816, allocations: 19.06 kB / 0.5965 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.4816, allocations: 8.453 kB / 0.5965 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005446/0.4821, allocations: 156.5 kB / 0.5967 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/0.4826, allocations: 121.9 kB / 0.5968 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003443/0.4861, allocations: 4.042 MB / 0.6007 GB, free: 5.238 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.4865, allocations: 34 kB / 0.6008 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-05/0.4866, allocations: 36.02 kB / 0.6008 GB, free: 5.219 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.0003087/0.4869, allocations: 211.1 kB / 0.601 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.336e-05/0.487, allocations: 65.34 kB / 0.601 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.4882, allocations: 0.5962 MB / 0.6016 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.4882, allocations: 11.83 kB / 0.6016 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4882, allocations: 0 / 0.6016 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.4882, allocations: 9.391 kB / 0.6017 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.4902, allocations: 1.258 MB / 0.6029 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.4902, allocations: 1.438 kB / 0.6029 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.4905, allocations: 60.33 kB / 0.6029 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004246/0.491, allocations: 137.1 kB / 0.6031 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.491, allocations: 7.625 kB / 0.6031 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003104/0.4941, allocations: 4.038 MB / 0.607 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4941, allocations: 5.5 kB / 0.607 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.4952, allocations: 0.7108 MB / 0.6077 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/0.4954, allocations: 165.4 kB / 0.6079 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.348e-05/0.4955, allocations: 11.72 kB / 0.6079 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.4957, allocations: 22.59 kB / 0.6079 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/0.4958, allocations: 33.11 kB / 0.6079 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.4959, allocations: 11.91 kB / 0.608 GB, free: 15.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003939/0.4963, allocations: 327 kB / 0.6083 GB, free: 15.01 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4963, allocations: 0 / 0.6083 GB, free: 15.01 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007363/0.497, allocations: 142.9 kB / 0.6084 GB, free: 15 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.0001538/0.4972, allocations: 113.6 kB / 0.6085 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.4986, allocations: 1.035 MB / 0.6095 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.4986, allocations: 0 / 0.6095 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008491/0.4995, allocations: 0.7387 MB / 0.6102 GB, free: 13.42 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.5007, allocations: 186.8 kB / 0.6104 GB, free: 13.33 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.5025, allocations: 1.27 MB / 0.6117 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.503, allocations: 0.8999 MB / 0.6125 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003657/0.5034, allocations: 121.8 kB / 0.6127 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.867e-05/0.5035, allocations: 38.84 kB / 0.6127 GB, free: 11.55 MB / 462.1 MB Notification: Performance of SimCode: time 3.6e-07/0.5035, allocations: 0 / 0.6127 GB, free: 11.55 MB / 462.1 MB Notification: Performance of Templates: time 0.0155/0.519, allocations: 7.261 MB / 0.6198 GB, free: 8.07 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)