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.008569/0.008568, allocations: 103.9 kB / 15.74 MB, free: 6.008 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.001706/0.001706, allocations: 187 kB / 16.67 MB, free: 5.934 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.813/1.813, allocations: 205.1 MB / 222.6 MB, free: 4.371 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.667/1.667, allocations: 251.7 MB / 0.5094 GB, free: 3.008 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.001429/0.001429, allocations: 71.89 kB / 0.7258 GB, free: 9.148 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.289, allocations: 104.7 MB / 0.828 GB, free: 344 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006039/0.2951, allocations: 3.76 MB / 0.8317 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003468/0.2986, allocations: 1.836 MB / 0.8335 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/0.2989, allocations: 15.88 kB / 0.8335 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.3, allocations: 270.6 kB / 0.8338 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00085/0.3009, allocations: 310.4 kB / 0.8341 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007941/0.3017, allocations: 253.8 kB / 0.8343 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008954/0.3026, allocations: 0.6049 MB / 0.8349 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000622/0.3032, allocations: 270.5 kB / 0.8352 GB, free: 9 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004372/0.3037, allocations: 235.1 kB / 0.8354 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003617/0.304, allocations: 234.9 kB / 0.8356 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.312e-05/0.3041, allocations: 28 kB / 0.8356 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005946/0.3047, allocations: 271.4 kB / 0.8359 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.3049, allocations: 123.6 kB / 0.836 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.3051, allocations: 206.9 kB / 0.8362 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008482/0.306, allocations: 0.5917 MB / 0.8368 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.306, allocations: 0 / 0.8368 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.944e-06/0.306, allocations: 0 / 0.8368 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.306, allocations: 0 / 0.8368 GB, free: 7.328 MB / 0.6544 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.001358/0.3074, allocations: 0.7386 MB / 0.8375 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3074, allocations: 8.031 kB / 0.8375 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009252/0.3084, allocations: 136.2 kB / 0.8376 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005972/0.309, allocations: 403.5 kB / 0.838 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.309, allocations: 25.03 kB / 0.8381 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.497e-05/0.3091, allocations: 32.36 kB / 0.8381 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009154/0.31, allocations: 0.5525 MB / 0.8386 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.31, allocations: 0 / 0.8386 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.3101, allocations: 16 kB / 0.8386 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-05/0.3102, allocations: 48.53 kB / 0.8387 GB, free: 5.227 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006549/0.3108, allocations: 401.7 kB / 0.8391 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003125/0.314, allocations: 3.337 MB / 0.8423 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/0.3146, allocations: 338.4 kB / 0.8427 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/0.315, allocations: 180.8 kB / 0.8428 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.315, allocations: 0 / 0.8428 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.315, allocations: 46.44 kB / 0.8429 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=26): time 1.082e-06/0.315, allocations: 0 / 0.8429 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of matching and sorting (n=27): time 0.00207/0.3171, allocations: 1.059 MB / 0.8439 GB, free: 15.55 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.3172, allocations: 55.62 kB / 0.844 GB, free: 15.48 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.3176, allocations: 337.6 kB / 0.8443 GB, free: 15.14 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.3177, allocations: 29.7 kB / 0.8443 GB, free: 15.11 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.3179, allocations: 243.5 kB / 0.8445 GB, free: 14.87 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.318, allocations: 98.58 kB / 0.8446 GB, free: 14.77 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.3181, allocations: 86.03 kB / 0.8447 GB, free: 14.68 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002428/0.3184, allocations: 346.8 kB / 0.845 GB, free: 14.33 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.3187, allocations: 144.8 kB / 0.8452 GB, free: 14.19 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/0.3191, allocations: 294.5 kB / 0.8455 GB, free: 13.84 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007324/0.3199, allocations: 481.8 kB / 0.8459 GB, free: 13.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3199, allocations: 0 / 0.8459 GB, free: 13.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001004/0.3209, allocations: 0.5576 MB / 0.8465 GB, free: 12.73 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.3209, allocations: 8 kB / 0.8465 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.321, allocations: 4.625 kB / 0.8465 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003624/0.3213, allocations: 98.44 kB / 0.8466 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.3217, allocations: 87.88 kB / 0.8467 GB, free: 12.53 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/0.3217, allocations: 11.94 kB / 0.8467 GB, free: 12.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.3219, allocations: 27.91 kB / 0.8467 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.322, allocations: 20 kB / 0.8467 GB, free: 12.47 MB / 0.67 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.0002316/0.3222, allocations: 173.7 kB / 0.8469 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.3223, allocations: 39.53 kB / 0.8469 GB, free: 12.25 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009569/0.3233, allocations: 472.2 kB / 0.8474 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3233, allocations: 4 kB / 0.8474 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3233, allocations: 0 / 0.8474 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.3233, allocations: 4 kB / 0.8474 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.3248, allocations: 0.9597 MB / 0.8483 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3248, allocations: 0 / 0.8483 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.3251, allocations: 51.95 kB / 0.8484 GB, free: 10.68 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002247/0.3253, allocations: 82.55 kB / 0.8484 GB, free: 10.59 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.3253, allocations: 8 kB / 0.8485 GB, free: 10.58 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.3254, allocations: 7.984 kB / 0.8485 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3254, allocations: 0 / 0.8485 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008686/0.3262, allocations: 0.5411 MB / 0.849 GB, free: 10 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.3264, allocations: 140.6 kB / 0.8491 GB, free: 9.844 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.3265, allocations: 4 kB / 0.8491 GB, free: 9.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.3267, allocations: 23.97 kB / 0.8491 GB, free: 9.816 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.3267, allocations: 27.91 kB / 0.8492 GB, free: 9.789 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.3268, allocations: 8 kB / 0.8492 GB, free: 9.781 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002565/0.327, allocations: 239.1 kB / 0.8494 GB, free: 9.551 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.327, allocations: 0 / 0.8494 GB, free: 9.551 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004265/0.3275, allocations: 88 kB / 0.8495 GB, free: 9.465 MB / 0.67 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.0001794/0.3277, allocations: 103.2 kB / 0.8496 GB, free: 9.352 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009809/0.3286, allocations: 0.6458 MB / 0.8502 GB, free: 8.641 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3287, allocations: 1.25 kB / 0.8502 GB, free: 8.641 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005241/0.3292, allocations: 433.8 kB / 0.8506 GB, free: 8.152 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007713/0.33, allocations: 131.8 kB / 0.8508 GB, free: 8.023 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.3314, allocations: 0.7151 MB / 0.8515 GB, free: 7.27 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005543/0.332, allocations: 0.8234 MB / 0.8523 GB, free: 6.418 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002641/0.3323, allocations: 79.34 kB / 0.8523 GB, free: 6.34 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.558e-05/0.3324, allocations: 27.44 kB / 0.8524 GB, free: 6.312 MB / 0.67 GB Notification: Performance of SimCode: time 9.41e-07/0.3324, allocations: 4 kB / 0.8524 GB, free: 6.309 MB / 0.67 GB Notification: Performance of Templates: time 0.01225/0.3446, allocations: 4.751 MB / 0.857 GB, free: 1.621 MB / 0.67 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)