Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00908/0.009081, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.595/1.595, allocations: 252 MB / 0.5105 GB, free: 4.688 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000542/0.0005421, allocations: 16.61 kB / 0.6249 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5322/0.5327, allocations: 106.3 MB / 0.7287 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005513/0.5383, allocations: 3.412 MB / 0.7321 GB, free: 7.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003265/0.5416, allocations: 1.828 MB / 0.7339 GB, free: 6.133 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004875/0.5421, allocations: 15.88 kB / 0.7339 GB, free: 6.117 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.5425, allocations: 51.5 kB / 0.7339 GB, free: 6.066 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.5436, allocations: 278.7 kB / 0.7342 GB, free: 5.793 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000746/0.5443, allocations: 223.6 kB / 0.7344 GB, free: 5.574 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001032/0.5454, allocations: 0.7375 MB / 0.7351 GB, free: 4.836 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009024/0.5463, allocations: 374.8 kB / 0.7355 GB, free: 4.445 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004965/0.5468, allocations: 203 kB / 0.7357 GB, free: 4.246 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.5471, allocations: 211.1 kB / 0.7359 GB, free: 4.039 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.548e-05/0.5472, allocations: 16 kB / 0.7359 GB, free: 4.023 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006856/0.5479, allocations: 335.3 kB / 0.7362 GB, free: 3.695 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.548, allocations: 115.6 kB / 0.7363 GB, free: 3.582 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.5483, allocations: 216.5 kB / 0.7365 GB, free: 3.363 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006537/0.5489, allocations: 0.5818 MB / 0.7371 GB, free: 2.781 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5489, allocations: 3.938 kB / 0.7371 GB, free: 2.777 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.444e-06/0.5489, allocations: 0 / 0.7371 GB, free: 2.777 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.549, allocations: 0 / 0.7371 GB, free: 2.777 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001156/0.5501, allocations: 0.6697 MB / 0.7377 GB, free: 2.062 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.5502, allocations: 8.031 kB / 0.7378 GB, free: 2.055 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008987/0.5511, allocations: 136.1 kB / 0.7379 GB, free: 1.922 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.5515, allocations: 371.6 kB / 0.7382 GB, free: 1.523 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.5516, allocations: 28.95 kB / 0.7383 GB, free: 1.492 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.936e-05/0.5516, allocations: 28.38 kB / 0.7383 GB, free: 1.465 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008575/0.5525, allocations: 0.5627 MB / 0.7388 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.5525, allocations: 4 kB / 0.7388 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.631e-05/0.5526, allocations: 15.98 kB / 0.7389 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-05/0.5526, allocations: 44.55 kB / 0.7389 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006863/0.5533, allocations: 417.7 kB / 0.7393 GB, free: 364 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002711/0.5561, allocations: 3.326 MB / 0.7425 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000645/0.5567, allocations: 346.4 kB / 0.7429 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.557, allocations: 188.7 kB / 0.7431 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.5571, allocations: 4 kB / 0.7431 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.5571, allocations: 34.56 kB / 0.7431 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=26): time 1.964e-06/0.5571, allocations: 0 / 0.7431 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=27): time 0.002007/0.5591, allocations: 1.089 MB / 0.7442 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.5592, allocations: 51.64 kB / 0.7442 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.5595, allocations: 345.5 kB / 0.7445 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.5595, allocations: 29.7 kB / 0.7446 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.5597, allocations: 243.6 kB / 0.7448 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.6e-05/0.5598, allocations: 98.59 kB / 0.7449 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.5598, allocations: 45.69 kB / 0.7449 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.56, allocations: 338.8 kB / 0.7453 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.5602, allocations: 160.7 kB / 0.7454 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/0.5606, allocations: 290.5 kB / 0.7457 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006751/0.5613, allocations: 0.49 MB / 0.7462 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5613, allocations: 0 / 0.7462 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009637/0.5623, allocations: 0.5694 MB / 0.7467 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.5623, allocations: 4 kB / 0.7467 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.5623, allocations: 8 kB / 0.7467 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003032/0.5626, allocations: 91 kB / 0.7468 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.563, allocations: 87.89 kB / 0.7469 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.563, allocations: 19.86 kB / 0.7469 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.5633, allocations: 35.91 kB / 0.747 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.5633, allocations: 16 kB / 0.747 GB, free: 7.965 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001889/0.5635, allocations: 173.7 kB / 0.7471 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.456e-05/0.5636, allocations: 39.53 kB / 0.7472 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009146/0.5645, allocations: 484.2 kB / 0.7476 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.5645, allocations: 4 kB / 0.7476 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/0.5645, allocations: 0 / 0.7476 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5646, allocations: 0 / 0.7476 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.566, allocations: 0.9745 MB / 0.7486 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.566, allocations: 0 / 0.7486 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.5662, allocations: 47.95 kB / 0.7486 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002316/0.5665, allocations: 90.55 kB / 0.7487 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.5665, allocations: 8 kB / 0.7487 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5665, allocations: 3.938 kB / 0.7487 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5665, allocations: 0 / 0.7487 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008507/0.5674, allocations: 0.5664 MB / 0.7493 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.5675, allocations: 140.6 kB / 0.7494 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.575e-05/0.5676, allocations: 7.984 kB / 0.7494 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.5678, allocations: 27.98 kB / 0.7495 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.156e-05/0.5679, allocations: 27.83 kB / 0.7495 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.5679, allocations: 12 kB / 0.7495 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002211/0.5681, allocations: 231.2 kB / 0.7497 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5682, allocations: 0 / 0.7497 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004168/0.5686, allocations: 84 kB / 0.7498 GB, free: 4.91 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001473/0.5687, allocations: 111.2 kB / 0.7499 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009132/0.5696, allocations: 0.647 MB / 0.7505 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5697, allocations: 0 / 0.7505 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004422/0.5701, allocations: 437.6 kB / 0.751 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007223/0.5708, allocations: 120.4 kB / 0.7511 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.572, allocations: 0.9088 MB / 0.752 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005345/0.5725, allocations: 0.8273 MB / 0.7528 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002354/0.5728, allocations: 79.36 kB / 0.7528 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.647e-05/0.5729, allocations: 27.44 kB / 0.7529 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.5729, allocations: 0 / 0.7529 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of Templates: time 0.008949/0.5818, allocations: 4.449 MB / 0.7572 GB, free: 13.17 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) Environment - environmentSimulation: