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.001142/0.001142, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001666/0.001666, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.899/1.899, allocations: 205.1 MB / 222 MB, free: 4.77 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.728/1.728, allocations: 251.7 MB / 0.5088 GB, free: 3.359 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.001351/0.001351, allocations: 56.48 kB / 0.6216 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7373/0.7387, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00755/0.7463, allocations: 3.794 MB / 0.7275 GB, free: 9.344 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003635/0.75, allocations: 1.852 MB / 0.7293 GB, free: 7.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000311/0.7504, allocations: 15.88 kB / 0.7293 GB, free: 7.465 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009548/0.7514, allocations: 235 kB / 0.7296 GB, free: 7.234 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007489/0.7522, allocations: 278.7 kB / 0.7298 GB, free: 6.961 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007279/0.7529, allocations: 222.7 kB / 0.73 GB, free: 6.746 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008095/0.7537, allocations: 0.7452 MB / 0.7308 GB, free: 6 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005635/0.7543, allocations: 249.9 kB / 0.731 GB, free: 5.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003713/0.7547, allocations: 215 kB / 0.7312 GB, free: 5.539 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003516/0.755, allocations: 231 kB / 0.7314 GB, free: 5.312 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.893e-05/0.7551, allocations: 20 kB / 0.7315 GB, free: 5.293 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006625/0.7558, allocations: 339.3 kB / 0.7318 GB, free: 4.961 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.7559, allocations: 119.6 kB / 0.7319 GB, free: 4.844 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.7562, allocations: 202.8 kB / 0.7321 GB, free: 4.645 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007285/0.7569, allocations: 0.5898 MB / 0.7327 GB, free: 4.055 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.7569, allocations: 4 kB / 0.7327 GB, free: 4.051 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7569, allocations: 0 / 0.7327 GB, free: 4.051 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.7569, allocations: 0 / 0.7327 GB, free: 4.051 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.00153/0.7585, allocations: 0.7324 MB / 0.7334 GB, free: 3.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.7585, allocations: 12.03 kB / 0.7334 GB, free: 3.258 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00097/0.7595, allocations: 128.2 kB / 0.7335 GB, free: 3.133 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006465/0.7602, allocations: 383.5 kB / 0.7339 GB, free: 2.723 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.088e-05/0.7602, allocations: 21.03 kB / 0.7339 GB, free: 2.699 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.411e-05/0.7603, allocations: 28.38 kB / 0.7339 GB, free: 2.672 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009019/0.7612, allocations: 0.5549 MB / 0.7345 GB, free: 2.043 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.7612, allocations: 8 kB / 0.7345 GB, free: 2.035 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.7613, allocations: 12 kB / 0.7345 GB, free: 2.023 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.437e-05/0.7614, allocations: 52.41 kB / 0.7345 GB, free: 1.973 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007287/0.7621, allocations: 413.7 kB / 0.7349 GB, free: 1.566 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003302/0.7654, allocations: 3.334 MB / 0.7382 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007001/0.7661, allocations: 334.5 kB / 0.7385 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.7665, allocations: 176.8 kB / 0.7387 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.7665, allocations: 3.984 kB / 0.7387 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.156e-05/0.7666, allocations: 38.5 kB / 0.7387 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=26): time 4.518e-06/0.7666, allocations: 0 / 0.7387 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=27): time 0.002365/0.7689, allocations: 1.066 MB / 0.7398 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.769, allocations: 55.64 kB / 0.7398 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.7694, allocations: 337.5 kB / 0.7401 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.7694, allocations: 29.7 kB / 0.7402 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.7696, allocations: 243.6 kB / 0.7404 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.534e-05/0.7697, allocations: 102.6 kB / 0.7405 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.7698, allocations: 78.03 kB / 0.7406 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.77, allocations: 346.8 kB / 0.7409 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.7703, allocations: 148.8 kB / 0.741 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.7707, allocations: 290.5 kB / 0.7413 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006717/0.7714, allocations: 486.5 kB / 0.7418 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.7714, allocations: 0 / 0.7418 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001007/0.7724, allocations: 0.5577 MB / 0.7423 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.7724, allocations: 8 kB / 0.7423 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.7725, allocations: 4 kB / 0.7423 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003427/0.7728, allocations: 94.97 kB / 0.7424 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.7732, allocations: 91.88 kB / 0.7425 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/0.7732, allocations: 11.94 kB / 0.7425 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.7735, allocations: 27.91 kB / 0.7426 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/0.7735, allocations: 20 kB / 0.7426 GB, free: 9.215 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.0002644/0.7738, allocations: 165.7 kB / 0.7427 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.978e-05/0.7739, allocations: 47.52 kB / 0.7428 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009401/0.7749, allocations: 464 kB / 0.7432 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.7749, allocations: 7.984 kB / 0.7432 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.7749, allocations: 0 / 0.7432 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.7749, allocations: 0 / 0.7432 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.7766, allocations: 0.9648 MB / 0.7442 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.7767, allocations: 0 / 0.7442 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.7769, allocations: 47.95 kB / 0.7442 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002704/0.7772, allocations: 86.55 kB / 0.7443 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.7772, allocations: 7.938 kB / 0.7443 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.7772, allocations: 4 kB / 0.7443 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.7773, allocations: 0 / 0.7443 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009564/0.7782, allocations: 0.5549 MB / 0.7448 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.7784, allocations: 132.6 kB / 0.745 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.23e-05/0.7785, allocations: 15.98 kB / 0.745 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.7787, allocations: 23.91 kB / 0.745 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.7788, allocations: 27.91 kB / 0.745 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.7788, allocations: 4 kB / 0.745 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000341/0.7792, allocations: 243.1 kB / 0.7453 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7792, allocations: 0 / 0.7453 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005238/0.7797, allocations: 88 kB / 0.7454 GB, free: 6.195 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.0002624/0.78, allocations: 103.2 kB / 0.7455 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001223/0.7812, allocations: 0.6303 MB / 0.7461 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.7813, allocations: 0 / 0.7461 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005982/0.7819, allocations: 439.8 kB / 0.7465 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007678/0.7826, allocations: 123.6 kB / 0.7466 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.784, allocations: 0.8858 MB / 0.7475 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005207/0.7846, allocations: 0.8234 MB / 0.7483 GB, free: 3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002886/0.7849, allocations: 83.34 kB / 0.7484 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.834e-05/0.785, allocations: 27.44 kB / 0.7484 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.785, allocations: 0 / 0.7484 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of Templates: time 0.009565/0.7945, allocations: 4.475 MB / 0.7528 GB, free: 14.47 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (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)