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.TestImpedance.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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001989/0.001989, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.879/1.879, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.735/1.735, allocations: 251.7 MB / 0.5092 GB, free: 3.082 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.001686/0.001686, allocations: 67.91 kB / 0.6223 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7722/0.7739, allocations: 104.7 MB / 0.7245 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007491/0.7814, allocations: 4.869 MB / 0.7293 GB, free: 8.031 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004822/0.7863, allocations: 2.495 MB / 0.7317 GB, free: 5.523 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004039/0.7867, allocations: 23.81 kB / 0.7317 GB, free: 5.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.788, allocations: 401.9 kB / 0.7321 GB, free: 5.105 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.7892, allocations: 445.7 kB / 0.7325 GB, free: 4.668 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009368/0.7902, allocations: 370.1 kB / 0.7329 GB, free: 4.309 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009413/0.7911, allocations: 0.9173 MB / 0.7338 GB, free: 3.387 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006077/0.7917, allocations: 352.5 kB / 0.7341 GB, free: 3.043 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004664/0.7922, allocations: 338.7 kB / 0.7345 GB, free: 2.711 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005543/0.7928, allocations: 342.5 kB / 0.7348 GB, free: 2.375 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.682e-05/0.7929, allocations: 40 kB / 0.7348 GB, free: 2.336 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008877/0.7938, allocations: 403.1 kB / 0.7352 GB, free: 1.941 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.794, allocations: 187.4 kB / 0.7354 GB, free: 1.758 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003331/0.7943, allocations: 318.2 kB / 0.7357 GB, free: 1.445 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.7954, allocations: 0.8643 MB / 0.7365 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.7955, allocations: 4 kB / 0.7365 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7955, allocations: 0 / 0.7365 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.7955, allocations: 4 kB / 0.7365 GB, free: 0.5703 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001574/0.7971, allocations: 0.9346 MB / 0.7374 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.7971, allocations: 8.031 kB / 0.7375 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.7984, allocations: 215.7 kB / 0.7377 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006333/0.7991, allocations: 490.3 kB / 0.7381 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.7991, allocations: 33.38 kB / 0.7382 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.539e-05/0.7992, allocations: 44.36 kB / 0.7382 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.8003, allocations: 0.8448 MB / 0.739 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/0.8003, allocations: 15.88 kB / 0.739 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.425e-05/0.8004, allocations: 23.98 kB / 0.7391 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.935e-05/0.8005, allocations: 60.95 kB / 0.7391 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000772/0.8012, allocations: 0.5734 MB / 0.7397 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00492/0.8062, allocations: 5.65 MB / 0.7452 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006822/0.8069, allocations: 458.3 kB / 0.7456 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/0.8072, allocations: 232.7 kB / 0.7459 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.8073, allocations: 4 kB / 0.7459 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.8073, allocations: 34.5 kB / 0.7459 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 3.106e-06/0.8073, allocations: 0 / 0.7459 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002882/0.8102, allocations: 1.509 MB / 0.7474 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.8103, allocations: 55.41 kB / 0.7474 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005675/0.8109, allocations: 0.491 MB / 0.7479 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.8109, allocations: 33.7 kB / 0.7479 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.8112, allocations: 354.8 kB / 0.7483 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.8113, allocations: 114.4 kB / 0.7484 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.8115, allocations: 110.2 kB / 0.7485 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.8117, allocations: 366.8 kB / 0.7488 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.812, allocations: 197.2 kB / 0.749 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004888/0.8125, allocations: 443 kB / 0.7494 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008464/0.8134, allocations: 0.6877 MB / 0.7501 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.8134, allocations: 4 kB / 0.7501 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001209/0.8146, allocations: 0.809 MB / 0.7509 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.8146, allocations: 8 kB / 0.7509 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.8146, allocations: 8 kB / 0.7509 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004896/0.8151, allocations: 152.9 kB / 0.7511 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.8156, allocations: 127.7 kB / 0.7512 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003378/0.819, allocations: 4.344 MB / 0.7554 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003602/0.8194, allocations: 35.97 kB / 0.7555 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.8194, allocations: 28 kB / 0.7555 GB, free: 11.65 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003014/0.8197, allocations: 217.4 kB / 0.7557 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.432e-05/0.8198, allocations: 63.25 kB / 0.7558 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009926/0.8208, allocations: 0.601 MB / 0.7564 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.8209, allocations: 4 kB / 0.7564 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.8209, allocations: 0 / 0.7564 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.8209, allocations: 3.984 kB / 0.7564 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.8227, allocations: 1.254 MB / 0.7576 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.8227, allocations: 4 kB / 0.7576 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.8229, allocations: 59.83 kB / 0.7576 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003805/0.8233, allocations: 148.3 kB / 0.7578 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.8233, allocations: 11.94 kB / 0.7578 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003165/0.8265, allocations: 4.328 MB / 0.762 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.8265, allocations: 7.969 kB / 0.762 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009478/0.8275, allocations: 0.7115 MB / 0.7627 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.8277, allocations: 168.3 kB / 0.7629 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.972e-05/0.8278, allocations: 8 kB / 0.7629 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.828, allocations: 19.97 kB / 0.7629 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.8281, allocations: 47.83 kB / 0.763 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.8281, allocations: 12 kB / 0.763 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003853/0.8285, allocations: 330.8 kB / 0.7633 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8285, allocations: 0 / 0.7633 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006435/0.8292, allocations: 140 kB / 0.7634 GB, free: 2.902 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001706/0.8294, allocations: 111.2 kB / 0.7635 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.8308, allocations: 1.077 MB / 0.7646 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8309, allocations: 0 / 0.7646 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000819/0.8317, allocations: 0.7385 MB / 0.7653 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.8327, allocations: 205.9 kB / 0.7655 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.8343, allocations: 1.041 MB / 0.7665 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004994/0.8348, allocations: 0.9019 MB / 0.7674 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003074/0.8351, allocations: 125.3 kB / 0.7675 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.991e-05/0.8352, allocations: 35.44 kB / 0.7675 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of SimCode: time 7.22e-07/0.8352, allocations: 0 / 0.7675 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of Templates: time 0.01351/0.8488, allocations: 7.599 MB / 0.775 GB, free: 6.926 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)