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.001117/0.001117, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008302/0.0008302, allocations: 168.7 kB / 15.95 MB, free: 204 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.555/1.555, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.584/1.584, allocations: 252 MB / 0.5102 GB, free: 4.828 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.0006072/0.0006077, allocations: 15.94 kB / 0.6243 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6617/0.6623, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004921/0.6673, allocations: 4.267 MB / 0.7323 GB, free: 7.141 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003795/0.6712, allocations: 2.352 MB / 0.7346 GB, free: 4.777 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004434/0.6716, allocations: 19.81 kB / 0.7346 GB, free: 4.758 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.672, allocations: 83.22 kB / 0.7347 GB, free: 4.676 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.673, allocations: 350.1 kB / 0.735 GB, free: 4.332 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008305/0.6739, allocations: 298.9 kB / 0.7353 GB, free: 4.043 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.6749, allocations: 0.9602 MB / 0.7363 GB, free: 3.078 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007809/0.6757, allocations: 416.3 kB / 0.7366 GB, free: 2.648 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004167/0.6762, allocations: 294.6 kB / 0.7369 GB, free: 2.359 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000425/0.6766, allocations: 330.6 kB / 0.7372 GB, free: 2.035 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.737e-05/0.6767, allocations: 20 kB / 0.7373 GB, free: 2.016 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00051/0.6772, allocations: 195.7 kB / 0.7374 GB, free: 1.824 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.6773, allocations: 159.4 kB / 0.7376 GB, free: 1.668 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.6775, allocations: 137.4 kB / 0.7377 GB, free: 1.527 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006218/0.6781, allocations: 0.637 MB / 0.7384 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.6781, allocations: 0 / 0.7384 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.595e-06/0.6781, allocations: 0 / 0.7384 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.6781, allocations: 0 / 0.7384 GB, free: 0.8906 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.001176/0.6793, allocations: 0.8372 MB / 0.7392 GB, free: 4 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.802e-05/0.6794, allocations: 12.02 kB / 0.7392 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.6806, allocations: 198.9 kB / 0.7394 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006841/0.6813, allocations: 485.2 kB / 0.7398 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.6813, allocations: 37 kB / 0.7399 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.912e-05/0.6814, allocations: 43.98 kB / 0.7399 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.6825, allocations: 0.8367 MB / 0.7407 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.6825, allocations: 11.92 kB / 0.7407 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.707e-05/0.6826, allocations: 23.98 kB / 0.7408 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.83e-05/0.6827, allocations: 64.95 kB / 0.7408 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007906/0.6835, allocations: 0.5655 MB / 0.7414 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004213/0.6877, allocations: 5.651 MB / 0.7469 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006188/0.6883, allocations: 458.3 kB / 0.7473 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.6886, allocations: 229.1 kB / 0.7476 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.6887, allocations: 4 kB / 0.7476 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.6887, allocations: 46.5 kB / 0.7476 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.614e-06/0.6887, allocations: 0 / 0.7476 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002678/0.6914, allocations: 1.501 MB / 0.7491 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.6915, allocations: 55.41 kB / 0.7491 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000522/0.692, allocations: 494.9 kB / 0.7496 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.692, allocations: 33.64 kB / 0.7496 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.6923, allocations: 358.8 kB / 0.75 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.642e-05/0.6924, allocations: 114.3 kB / 0.7501 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.6924, allocations: 16 kB / 0.7501 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.6926, allocations: 362.8 kB / 0.7504 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.6929, allocations: 193.2 kB / 0.7506 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004371/0.6933, allocations: 443 kB / 0.751 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/0.6937, allocations: 264 kB / 0.7513 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.6937, allocations: 4 kB / 0.7513 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001224/0.6949, allocations: 0.8018 MB / 0.7521 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.6949, allocations: 12 kB / 0.7521 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.695, allocations: 8 kB / 0.7521 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000465/0.6954, allocations: 148.1 kB / 0.7522 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004331/0.6959, allocations: 127.9 kB / 0.7524 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002981/0.6989, allocations: 4.04 MB / 0.7563 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.6993, allocations: 35.97 kB / 0.7563 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.6994, allocations: 24.16 kB / 0.7564 GB, free: 13.09 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.0002764/0.6996, allocations: 229.5 kB / 0.7566 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.775e-05/0.6997, allocations: 55.34 kB / 0.7566 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009667/0.7007, allocations: 0.6087 MB / 0.7572 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.7007, allocations: 7.953 kB / 0.7572 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.7007, allocations: 0 / 0.7572 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.7007, allocations: 0 / 0.7572 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.7024, allocations: 1.255 MB / 0.7585 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.7024, allocations: 3.953 kB / 0.7585 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.7027, allocations: 51.95 kB / 0.7585 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003784/0.7031, allocations: 144.3 kB / 0.7587 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.7031, allocations: 8 kB / 0.7587 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00284/0.7059, allocations: 4.021 MB / 0.7626 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.706, allocations: 7.938 kB / 0.7626 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.707, allocations: 0.7081 MB / 0.7633 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/0.7072, allocations: 168.3 kB / 0.7634 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.623e-05/0.7073, allocations: 8 kB / 0.7635 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.7075, allocations: 19.97 kB / 0.7635 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.7076, allocations: 35.95 kB / 0.7635 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.7076, allocations: 8 kB / 0.7635 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003423/0.708, allocations: 330.8 kB / 0.7638 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.708, allocations: 0 / 0.7638 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006742/0.7087, allocations: 140 kB / 0.764 GB, free: 4.691 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.000169/0.7089, allocations: 114.1 kB / 0.7641 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.7102, allocations: 1.033 MB / 0.7651 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7102, allocations: 0 / 0.7651 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007889/0.711, allocations: 0.7424 MB / 0.7658 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009015/0.712, allocations: 184.9 kB / 0.766 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.7136, allocations: 1.22 MB / 0.7672 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.7141, allocations: 0.898 MB / 0.7681 GB, free: 268 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003364/0.7144, allocations: 125.3 kB / 0.7682 GB, free: 140 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-05/0.7145, allocations: 35.44 kB / 0.7682 GB, free: 104 kB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.7145, allocations: 4 kB / 0.7682 GB, free: 100 kB / 0.5762 GB Notification: Performance of Templates: time 0.01277/0.7273, allocations: 7.018 MB / 0.7751 GB, free: 9.16 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: