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.0009867/0.0009866, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001009/0.001009, allocations: 177.3 kB / 15.95 MB, free: 216 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.683/1.683, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.758/1.758, allocations: 251.9 MB / 0.51 GB, free: 4.883 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.0006006/0.0006009, allocations: 16 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.669/0.6697, allocations: 106.3 MB / 0.728 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00486/0.6746, allocations: 4.123 MB / 0.732 GB, free: 7.461 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003475/0.6781, allocations: 2.329 MB / 0.7343 GB, free: 5.121 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.6784, allocations: 23.81 kB / 0.7343 GB, free: 5.098 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.6786, allocations: 63.47 kB / 0.7344 GB, free: 5.035 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000832/0.6795, allocations: 370.8 kB / 0.7347 GB, free: 4.672 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006669/0.6801, allocations: 280.7 kB / 0.735 GB, free: 4.398 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007071/0.6809, allocations: 0.5874 MB / 0.7356 GB, free: 3.809 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006851/0.6816, allocations: 420.2 kB / 0.736 GB, free: 3.375 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003353/0.6819, allocations: 266.9 kB / 0.7362 GB, free: 3.113 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004142/0.6823, allocations: 278.8 kB / 0.7365 GB, free: 2.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.272e-05/0.6824, allocations: 20 kB / 0.7365 GB, free: 2.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.6827, allocations: 143.8 kB / 0.7366 GB, free: 2.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.6828, allocations: 147.5 kB / 0.7368 GB, free: 2.535 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.683, allocations: 133.4 kB / 0.7369 GB, free: 2.398 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005993/0.6836, allocations: 0.6059 MB / 0.7375 GB, free: 1.793 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.6836, allocations: 3.938 kB / 0.7375 GB, free: 1.789 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6836, allocations: 0 / 0.7375 GB, free: 1.789 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.6836, allocations: 0 / 0.7375 GB, free: 1.789 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.00121/0.6848, allocations: 0.8131 MB / 0.7383 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.6849, allocations: 15.97 kB / 0.7383 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009313/0.6858, allocations: 178.9 kB / 0.7385 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006994/0.6865, allocations: 469.4 kB / 0.7389 GB, free: 244 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.6866, allocations: 32.98 kB / 0.739 GB, free: 212 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.738e-05/0.6866, allocations: 47.89 kB / 0.739 GB, free: 164 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.6877, allocations: 0.8405 MB / 0.7398 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.6878, allocations: 7.938 kB / 0.7398 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.6878, allocations: 20 kB / 0.7398 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.064e-05/0.6879, allocations: 68.95 kB / 0.7399 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008006/0.6887, allocations: 0.5694 MB / 0.7405 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004425/0.6931, allocations: 5.65 MB / 0.746 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006278/0.6938, allocations: 458.3 kB / 0.7464 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.6938, allocations: 4 kB / 0.7464 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.6939, allocations: 42.98 kB / 0.7465 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.255e-06/0.6939, allocations: 0 / 0.7465 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002854/0.6968, allocations: 1.504 MB / 0.7479 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.6968, allocations: 63.41 kB / 0.748 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006199/0.6975, allocations: 487 kB / 0.7485 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.6975, allocations: 33.7 kB / 0.7485 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.6978, allocations: 354.8 kB / 0.7488 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.6979, allocations: 122.3 kB / 0.749 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/0.6979, allocations: 8 kB / 0.749 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.6981, allocations: 366.8 kB / 0.7493 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.6984, allocations: 193.2 kB / 0.7495 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004995/0.6989, allocations: 447 kB / 0.7499 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.6992, allocations: 260 kB / 0.7502 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.6993, allocations: 4 kB / 0.7502 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001206/0.7005, allocations: 0.7975 MB / 0.751 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.7005, allocations: 15.94 kB / 0.751 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.7005, allocations: 8 kB / 0.751 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004869/0.701, allocations: 152.7 kB / 0.7511 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/0.7015, allocations: 123.8 kB / 0.7512 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003345/0.7048, allocations: 4.064 MB / 0.7552 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.7052, allocations: 31.97 kB / 0.7552 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.7052, allocations: 31.98 kB / 0.7553 GB, free: 14.24 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002676/0.7055, allocations: 209.6 kB / 0.7555 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.888e-05/0.7056, allocations: 59.28 kB / 0.7555 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000996/0.7066, allocations: 0.6088 MB / 0.7561 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.7066, allocations: 4 kB / 0.7561 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7066, allocations: 3.953 kB / 0.7561 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.7066, allocations: 3.984 kB / 0.7561 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.7084, allocations: 1.251 MB / 0.7574 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.7084, allocations: 4 kB / 0.7574 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.7087, allocations: 59.84 kB / 0.7574 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003818/0.7091, allocations: 144.4 kB / 0.7575 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.7091, allocations: 11.94 kB / 0.7576 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00307/0.7122, allocations: 4.037 MB / 0.7615 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.7122, allocations: 0 / 0.7615 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.7133, allocations: 0.7906 MB / 0.7623 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.7135, allocations: 172.3 kB / 0.7624 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/0.7136, allocations: 8 kB / 0.7624 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.7138, allocations: 27.97 kB / 0.7625 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.329e-05/0.7139, allocations: 39.84 kB / 0.7625 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.7139, allocations: 11.95 kB / 0.7625 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003353/0.7143, allocations: 326.8 kB / 0.7628 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7143, allocations: 0 / 0.7628 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006271/0.7149, allocations: 140 kB / 0.763 GB, free: 5.699 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001651/0.7151, allocations: 115.2 kB / 0.7631 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.7164, allocations: 1.033 MB / 0.7641 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.7165, allocations: 0 / 0.7641 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008098/0.7173, allocations: 0.7387 MB / 0.7648 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008292/0.7181, allocations: 184.7 kB / 0.765 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.7197, allocations: 1.203 MB / 0.7662 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.7203, allocations: 0.9181 MB / 0.7671 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003194/0.7206, allocations: 125.2 kB / 0.7672 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.243e-05/0.7207, allocations: 39.44 kB / 0.7672 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.7207, allocations: 0 / 0.7672 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of Templates: time 0.01234/0.7331, allocations: 7.023 MB / 0.7741 GB, free: 10.17 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: