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.009939/0.009939, allocations: 104.1 kB / 15.74 MB, free: 6.059 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.001606/0.001606, allocations: 196.2 kB / 16.68 MB, free: 5.969 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.716/1.716, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.517/1.517, allocations: 251.7 MB / 0.5094 GB, free: 396 kB / 430.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.001436/0.001436, allocations: 71.89 kB / 0.7258 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7494/0.7508, allocations: 104.7 MB / 0.828 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005274/0.7562, allocations: 3.761 MB / 0.8317 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003609/0.7598, allocations: 1.836 MB / 0.8335 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003694/0.7602, allocations: 19.88 kB / 0.8335 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.7614, allocations: 258.7 kB / 0.8338 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0008387/0.7622, allocations: 294.4 kB / 0.834 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006368/0.7629, allocations: 254.3 kB / 0.8343 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0006735/0.7635, allocations: 0.6049 MB / 0.8349 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004607/0.764, allocations: 254.5 kB / 0.8351 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003165/0.7643, allocations: 235.1 kB / 0.8353 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.7647, allocations: 231 kB / 0.8356 GB, free: 11 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.7647, allocations: 28 kB / 0.8356 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004332/0.7652, allocations: 279.4 kB / 0.8359 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.7653, allocations: 119.6 kB / 0.836 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.7655, allocations: 214.8 kB / 0.8362 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0007078/0.7662, allocations: 0.5898 MB / 0.8368 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.7663, allocations: 0 / 0.8368 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7663, allocations: 0 / 0.8368 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.7663, allocations: 0 / 0.8368 GB, free: 9.785 MB / 0.6387 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.00131/0.7676, allocations: 0.7362 MB / 0.8375 GB, free: 9 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.7677, allocations: 12.02 kB / 0.8375 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000904/0.7686, allocations: 132.2 kB / 0.8376 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005879/0.7692, allocations: 407.5 kB / 0.838 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.7692, allocations: 25.02 kB / 0.838 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.76e-05/0.7693, allocations: 32.36 kB / 0.8381 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008331/0.7701, allocations: 0.5511 MB / 0.8386 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.7701, allocations: 7.938 kB / 0.8386 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.7702, allocations: 16 kB / 0.8386 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.491e-05/0.7703, allocations: 40.53 kB / 0.8387 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007155/0.771, allocations: 405.7 kB / 0.839 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003209/0.7742, allocations: 3.33 MB / 0.8423 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006922/0.7749, allocations: 338.5 kB / 0.8426 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.7752, allocations: 176.8 kB / 0.8428 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.7753, allocations: 4 kB / 0.8428 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.7753, allocations: 38.5 kB / 0.8428 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=26): time 2.335e-06/0.7753, allocations: 0 / 0.8428 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of matching and sorting (n=27): time 0.002101/0.7774, allocations: 1.061 MB / 0.8439 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.7775, allocations: 55.64 kB / 0.8439 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000375/0.7778, allocations: 345.5 kB / 0.8442 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.7779, allocations: 29.7 kB / 0.8443 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.7781, allocations: 251.5 kB / 0.8445 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.065e-05/0.7782, allocations: 94.66 kB / 0.8446 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.7783, allocations: 74.03 kB / 0.8447 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.7784, allocations: 346.8 kB / 0.845 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/0.7787, allocations: 148.8 kB / 0.8451 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/0.7791, allocations: 294.5 kB / 0.8454 GB, free: 308 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006932/0.7798, allocations: 475.6 kB / 0.8459 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.7798, allocations: 0 / 0.8459 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009833/0.7808, allocations: 0.5709 MB / 0.8464 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.7809, allocations: 8 kB / 0.8464 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.7809, allocations: 4 kB / 0.8465 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003345/0.7812, allocations: 90.5 kB / 0.8465 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.7816, allocations: 91.77 kB / 0.8466 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.241e-05/0.7816, allocations: 11.92 kB / 0.8466 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.7819, allocations: 36.09 kB / 0.8467 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.782, allocations: 23.94 kB / 0.8467 GB, free: 14.91 MB / 0.6544 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.0002204/0.7822, allocations: 166.8 kB / 0.8469 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.7823, allocations: 39.53 kB / 0.8469 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008683/0.7831, allocations: 476 kB / 0.8473 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.7832, allocations: 0 / 0.8473 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.7832, allocations: 4 kB / 0.8473 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.7832, allocations: 0 / 0.8473 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.7847, allocations: 0.9636 MB / 0.8483 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.7847, allocations: 0 / 0.8483 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.7849, allocations: 51.95 kB / 0.8483 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002296/0.7852, allocations: 78.45 kB / 0.8484 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.7852, allocations: 8 kB / 0.8484 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.7852, allocations: 0 / 0.8484 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.7852, allocations: 8.094 kB / 0.8484 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008262/0.7861, allocations: 0.5389 MB / 0.849 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.7862, allocations: 136.6 kB / 0.8491 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.7863, allocations: 8 kB / 0.8491 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.7865, allocations: 23.97 kB / 0.8491 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/0.7866, allocations: 23.91 kB / 0.8491 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.7866, allocations: 11.98 kB / 0.8492 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002277/0.7869, allocations: 231.2 kB / 0.8494 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7869, allocations: 0 / 0.8494 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004297/0.7873, allocations: 92 kB / 0.8495 GB, free: 11.93 MB / 0.6544 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.0001524/0.7875, allocations: 111.2 kB / 0.8496 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009735/0.7884, allocations: 0.6467 MB / 0.8502 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.7885, allocations: 0 / 0.8502 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004763/0.7889, allocations: 433.6 kB / 0.8506 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007667/0.7897, allocations: 120.9 kB / 0.8507 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.791, allocations: 0.7305 MB / 0.8514 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/0.7915, allocations: 0.8234 MB / 0.8522 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002379/0.7918, allocations: 87.33 kB / 0.8523 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.132e-05/0.7918, allocations: 27.44 kB / 0.8524 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of SimCode: time 3.446e-06/0.7919, allocations: 0 / 0.8524 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of Templates: time 0.009676/0.8015, allocations: 4.745 MB / 0.857 GB, free: 4.078 MB / 0.6544 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)