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.001257/0.001257, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001279/0.001279, allocations: 168.7 kB / 15.95 MB, free: 204 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.656/1.656, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.657/1.657, allocations: 252 MB / 0.5102 GB, free: 4.824 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.000565/0.0005653, allocations: 12 kB / 0.6243 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5717/0.5722, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004475/0.5768, allocations: 3.262 MB / 0.7313 GB, free: 8.121 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002996/0.5798, allocations: 1.74 MB / 0.733 GB, free: 6.371 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002695/0.5801, allocations: 11.94 kB / 0.733 GB, free: 6.359 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.5804, allocations: 63.42 kB / 0.7331 GB, free: 6.297 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006465/0.5811, allocations: 222.8 kB / 0.7333 GB, free: 6.078 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005692/0.5817, allocations: 190.5 kB / 0.7335 GB, free: 5.895 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006486/0.5823, allocations: 0.6361 MB / 0.7341 GB, free: 5.258 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006132/0.5829, allocations: 338.5 kB / 0.7344 GB, free: 4.902 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.5832, allocations: 191.1 kB / 0.7346 GB, free: 4.715 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/0.5836, allocations: 219.1 kB / 0.7348 GB, free: 4.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.5836, allocations: 12 kB / 0.7348 GB, free: 4.488 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.5839, allocations: 135.8 kB / 0.735 GB, free: 4.355 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.584, allocations: 99.64 kB / 0.7351 GB, free: 4.258 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.083e-05/0.5841, allocations: 97.52 kB / 0.7352 GB, free: 4.156 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.5846, allocations: 440.8 kB / 0.7356 GB, free: 3.727 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.5846, allocations: 0 / 0.7356 GB, free: 3.727 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.063e-06/0.5846, allocations: 0 / 0.7356 GB, free: 3.727 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.5846, allocations: 0 / 0.7356 GB, free: 3.727 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.001042/0.5857, allocations: 0.67 MB / 0.7362 GB, free: 3.008 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.5857, allocations: 8.031 kB / 0.7362 GB, free: 3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008338/0.5865, allocations: 143.1 kB / 0.7364 GB, free: 2.859 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/0.587, allocations: 366.5 kB / 0.7367 GB, free: 2.465 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.5871, allocations: 24.64 kB / 0.7367 GB, free: 2.438 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.5871, allocations: 31.94 kB / 0.7368 GB, free: 2.406 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008068/0.588, allocations: 0.5515 MB / 0.7373 GB, free: 1.777 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.588, allocations: 4 kB / 0.7373 GB, free: 1.773 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.588, allocations: 15.98 kB / 0.7373 GB, free: 1.758 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.233e-05/0.5881, allocations: 40.53 kB / 0.7374 GB, free: 1.719 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007333/0.5888, allocations: 425.6 kB / 0.7378 GB, free: 1.301 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002861/0.5917, allocations: 3.326 MB / 0.741 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006825/0.5924, allocations: 338.7 kB / 0.7413 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.5927, allocations: 180.7 kB / 0.7415 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.5928, allocations: 4 kB / 0.7415 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.5928, allocations: 38.55 kB / 0.7416 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=26): time 2.375e-06/0.5928, allocations: 4 kB / 0.7416 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=27): time 0.002105/0.5949, allocations: 1.078 MB / 0.7426 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.595, allocations: 55.64 kB / 0.7427 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.5953, allocations: 337.6 kB / 0.743 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.5954, allocations: 33.7 kB / 0.743 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.5956, allocations: 247.5 kB / 0.7433 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.993e-05/0.5957, allocations: 94.67 kB / 0.7434 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.845e-05/0.5957, allocations: 11.94 kB / 0.7434 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.5959, allocations: 346.8 kB / 0.7437 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.5961, allocations: 152.8 kB / 0.7438 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.5965, allocations: 295.1 kB / 0.7441 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.5969, allocations: 196.1 kB / 0.7443 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5969, allocations: 4 kB / 0.7443 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000955/0.5978, allocations: 0.5733 MB / 0.7449 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.5979, allocations: 4 kB / 0.7449 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.5979, allocations: 8 kB / 0.7449 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003124/0.5982, allocations: 91.06 kB / 0.745 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.5985, allocations: 91.81 kB / 0.7451 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.5986, allocations: 8 kB / 0.7451 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.5988, allocations: 31.91 kB / 0.7451 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.5989, allocations: 20 kB / 0.7451 GB, free: 9.328 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.0002179/0.5991, allocations: 181.6 kB / 0.7453 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.467e-05/0.5992, allocations: 39.53 kB / 0.7453 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008906/0.6001, allocations: 472 kB / 0.7458 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.6001, allocations: 7.953 kB / 0.7458 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.6001, allocations: 3.938 kB / 0.7458 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.6001, allocations: 0 / 0.7458 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.6016, allocations: 0.9739 MB / 0.7467 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.6016, allocations: 4 kB / 0.7467 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.6018, allocations: 55.89 kB / 0.7468 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002197/0.6021, allocations: 82.61 kB / 0.7469 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.6021, allocations: 4 kB / 0.7469 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.6021, allocations: 7.922 kB / 0.7469 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6021, allocations: 0 / 0.7469 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007835/0.6029, allocations: 0.555 MB / 0.7474 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.6031, allocations: 140.5 kB / 0.7476 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/0.6031, allocations: 8 kB / 0.7476 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.6033, allocations: 27.97 kB / 0.7476 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.6034, allocations: 27.91 kB / 0.7476 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.6034, allocations: 4 kB / 0.7476 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002289/0.6037, allocations: 231.2 kB / 0.7478 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6037, allocations: 0 / 0.7478 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004465/0.6041, allocations: 88 kB / 0.7479 GB, free: 6.281 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.000157/0.6043, allocations: 115.2 kB / 0.748 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000917/0.6052, allocations: 0.6431 MB / 0.7487 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6052, allocations: 0 / 0.7487 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004633/0.6057, allocations: 437.7 kB / 0.7491 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007068/0.6064, allocations: 120.5 kB / 0.7492 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.6076, allocations: 0.8795 MB / 0.7501 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.6081, allocations: 0.8234 MB / 0.7509 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002536/0.6083, allocations: 79.34 kB / 0.7509 GB, free: 3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.173e-05/0.6084, allocations: 31.44 kB / 0.751 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.6084, allocations: 0 / 0.751 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of Templates: time 0.008274/0.6167, allocations: 4.302 MB / 0.7552 GB, free: 14.72 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: