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.001137/0.001137, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001098/0.001098, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.699/1.699, allocations: 251.9 MB / 0.51 GB, free: 4.82 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.0006149/0.0006151, allocations: 15.59 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5087/0.5094, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00399/0.5134, allocations: 3.172 MB / 0.7311 GB, free: 8.246 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002543/0.516, allocations: 1.709 MB / 0.7327 GB, free: 6.527 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002254/0.5162, allocations: 11.88 kB / 0.7328 GB, free: 6.516 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.5164, allocations: 51.61 kB / 0.7328 GB, free: 6.465 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000589/0.517, allocations: 231.3 kB / 0.733 GB, free: 6.238 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.5175, allocations: 202.2 kB / 0.7332 GB, free: 6.043 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000487/0.518, allocations: 388.8 kB / 0.7336 GB, free: 5.664 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005862/0.5186, allocations: 326.5 kB / 0.7339 GB, free: 5.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003287/0.519, allocations: 195.2 kB / 0.7341 GB, free: 5.129 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.5193, allocations: 191.2 kB / 0.7343 GB, free: 4.941 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.5194, allocations: 12 kB / 0.7343 GB, free: 4.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.5196, allocations: 107.8 kB / 0.7344 GB, free: 4.824 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.5198, allocations: 91.66 kB / 0.7345 GB, free: 4.734 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.888e-05/0.5199, allocations: 101.5 kB / 0.7346 GB, free: 4.629 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004981/0.5204, allocations: 400.9 kB / 0.735 GB, free: 4.238 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5204, allocations: 3.938 kB / 0.735 GB, free: 4.234 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.517e-06/0.5204, allocations: 4 kB / 0.735 GB, free: 4.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.5204, allocations: 0 / 0.735 GB, free: 4.23 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.001242/0.5217, allocations: 0.6584 MB / 0.7356 GB, free: 3.523 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.5217, allocations: 8.031 kB / 0.7356 GB, free: 3.516 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007695/0.5225, allocations: 127.2 kB / 0.7357 GB, free: 3.391 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/0.5231, allocations: 358.6 kB / 0.7361 GB, free: 3.004 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.5232, allocations: 32.58 kB / 0.7361 GB, free: 2.969 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-05/0.5233, allocations: 28 kB / 0.7361 GB, free: 2.941 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009417/0.5242, allocations: 0.5476 MB / 0.7367 GB, free: 2.316 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.5242, allocations: 4 kB / 0.7367 GB, free: 2.312 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.5243, allocations: 19.97 kB / 0.7367 GB, free: 2.293 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.307e-05/0.5244, allocations: 44.53 kB / 0.7367 GB, free: 2.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007215/0.5251, allocations: 421.6 kB / 0.7371 GB, free: 1.836 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003015/0.5281, allocations: 3.33 MB / 0.7404 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000734/0.5289, allocations: 338.7 kB / 0.7407 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.5289, allocations: 0 / 0.7407 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.529, allocations: 38.55 kB / 0.7407 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=26): time 1.773e-06/0.529, allocations: 0 / 0.7407 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=27): time 0.002207/0.5312, allocations: 1.084 MB / 0.7418 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.5312, allocations: 55.64 kB / 0.7419 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.5316, allocations: 333.6 kB / 0.7422 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.5316, allocations: 29.7 kB / 0.7422 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.5318, allocations: 247.5 kB / 0.7424 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.836e-05/0.5319, allocations: 94.73 kB / 0.7425 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.588e-05/0.5319, allocations: 7.938 kB / 0.7425 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.532, allocations: 350.8 kB / 0.7429 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.5323, allocations: 152.8 kB / 0.743 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/0.5327, allocations: 291.1 kB / 0.7433 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.533, allocations: 200.1 kB / 0.7435 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.533, allocations: 4 kB / 0.7435 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009769/0.534, allocations: 0.5698 MB / 0.744 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.534, allocations: 8 kB / 0.7441 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.534, allocations: 7.938 kB / 0.7441 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003169/0.5344, allocations: 90.5 kB / 0.7442 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.5347, allocations: 99.75 kB / 0.7442 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.5348, allocations: 8.156 kB / 0.7443 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.535, allocations: 39.95 kB / 0.7443 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.5351, allocations: 16 kB / 0.7443 GB, free: 10.04 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002242/0.5353, allocations: 184.3 kB / 0.7445 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.5354, allocations: 39.53 kB / 0.7445 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008882/0.5363, allocations: 468.1 kB / 0.745 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.5363, allocations: 7.953 kB / 0.745 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.5363, allocations: 0 / 0.745 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.5363, allocations: 4 kB / 0.745 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.5379, allocations: 0.9637 MB / 0.7459 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.5379, allocations: 8.094 kB / 0.7459 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.5381, allocations: 55.89 kB / 0.746 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002243/0.5384, allocations: 78.52 kB / 0.7461 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.5384, allocations: 4 kB / 0.7461 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.5384, allocations: 7.938 kB / 0.7461 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5384, allocations: 0 / 0.7461 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008269/0.5392, allocations: 0.5912 MB / 0.7466 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.5394, allocations: 144.6 kB / 0.7468 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.5395, allocations: 8 kB / 0.7468 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.5397, allocations: 19.97 kB / 0.7468 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/0.5398, allocations: 27.92 kB / 0.7468 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.5398, allocations: 12 kB / 0.7468 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002292/0.5401, allocations: 231.2 kB / 0.7471 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5401, allocations: 0 / 0.7471 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004284/0.5405, allocations: 84 kB / 0.7471 GB, free: 6.949 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001571/0.5407, allocations: 111.2 kB / 0.7473 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009486/0.5416, allocations: 0.6509 MB / 0.7479 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5416, allocations: 0 / 0.7479 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004778/0.5421, allocations: 435.6 kB / 0.7483 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006044/0.5427, allocations: 120.4 kB / 0.7484 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.5441, allocations: 0.8768 MB / 0.7493 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005494/0.5446, allocations: 0.8356 MB / 0.7501 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002807/0.5449, allocations: 75.36 kB / 0.7502 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.574e-05/0.545, allocations: 27.44 kB / 0.7502 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/0.5451, allocations: 4 kB / 0.7502 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of Templates: time 0.009459/0.5545, allocations: 4.298 MB / 0.7544 GB, free: 15.38 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: