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.01201/0.01201, allocations: 100.1 kB / 15.73 MB, free: 6.449 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.002071/0.002071, allocations: 201.6 kB / 16.68 MB, free: 6.352 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.742/1.742, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.774/1.774, allocations: 251.7 MB / 0.5094 GB, free: 3.098 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.001428/0.001428, allocations: 71.89 kB / 0.7258 GB, free: 9.207 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3039, allocations: 104.7 MB / 0.828 GB, free: 400 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007274/0.3113, allocations: 4.862 MB / 0.8328 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004486/0.3158, allocations: 2.491 MB / 0.8352 GB, free: 9 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005612/0.3164, allocations: 23.81 kB / 0.8352 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.3178, allocations: 405.8 kB / 0.8356 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.3192, allocations: 469.7 kB / 0.8361 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.3203, allocations: 377.1 kB / 0.8364 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001384/0.3217, allocations: 0.9173 MB / 0.8373 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006624/0.3224, allocations: 354.4 kB / 0.8377 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005934/0.323, allocations: 342.7 kB / 0.838 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005553/0.3236, allocations: 346.5 kB / 0.8383 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.554e-05/0.3236, allocations: 36 kB / 0.8384 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.3247, allocations: 407.1 kB / 0.8388 GB, free: 5.371 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002316/0.325, allocations: 187.4 kB / 0.8389 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000383/0.3253, allocations: 314.3 kB / 0.8392 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.3267, allocations: 0.8798 MB / 0.8401 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3267, allocations: 0 / 0.8401 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.379e-06/0.3267, allocations: 4 kB / 0.8401 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.3268, allocations: 0 / 0.8401 GB, free: 3.992 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001552/0.3283, allocations: 0.9346 MB / 0.841 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.3284, allocations: 12.03 kB / 0.841 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.3297, allocations: 203.8 kB / 0.8412 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007881/0.3305, allocations: 0.5373 MB / 0.8417 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.963e-05/0.3305, allocations: 33.38 kB / 0.8418 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.515e-05/0.3306, allocations: 48.36 kB / 0.8418 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.3318, allocations: 0.8448 MB / 0.8426 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.3318, allocations: 7.938 kB / 0.8427 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.281e-05/0.3319, allocations: 23.98 kB / 0.8427 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.441e-05/0.332, allocations: 68.95 kB / 0.8427 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008488/0.3328, allocations: 0.5616 MB / 0.8433 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005663/0.3385, allocations: 5.647 MB / 0.8488 GB, free: 10.46 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007648/0.3393, allocations: 462.2 kB / 0.8492 GB, free: 10 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/0.3397, allocations: 224.7 kB / 0.8495 GB, free: 9.777 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.3397, allocations: 4 kB / 0.8495 GB, free: 9.773 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.186e-05/0.3398, allocations: 42.56 kB / 0.8495 GB, free: 9.723 MB / 0.67 GB Notification: Performance of pre-optimization done (n=32): time 2.895e-06/0.3398, allocations: 0 / 0.8495 GB, free: 9.723 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002885/0.3427, allocations: 1.5 MB / 0.851 GB, free: 8.109 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.3428, allocations: 59.39 kB / 0.851 GB, free: 8.039 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006219/0.3434, allocations: 498.9 kB / 0.8515 GB, free: 7.539 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.3434, allocations: 33.64 kB / 0.8515 GB, free: 7.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/0.3438, allocations: 354.8 kB / 0.8519 GB, free: 7.148 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.3439, allocations: 114.4 kB / 0.852 GB, free: 7.035 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.3441, allocations: 118.2 kB / 0.8521 GB, free: 6.914 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3443, allocations: 362.8 kB / 0.8524 GB, free: 6.551 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.3446, allocations: 193.2 kB / 0.8526 GB, free: 6.359 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005494/0.3451, allocations: 458.5 kB / 0.8531 GB, free: 5.797 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008757/0.346, allocations: 0.6877 MB / 0.8537 GB, free: 4.992 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.346, allocations: 4 kB / 0.8537 GB, free: 4.988 MB / 0.67 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001378/0.3474, allocations: 0.8056 MB / 0.8545 GB, free: 4.16 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.3474, allocations: 12.19 kB / 0.8545 GB, free: 4.148 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.3475, allocations: 12 kB / 0.8545 GB, free: 4.137 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005373/0.348, allocations: 156.1 kB / 0.8547 GB, free: 3.969 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000457/0.3485, allocations: 119.8 kB / 0.8548 GB, free: 3.852 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004206/0.3527, allocations: 4.34 MB / 0.859 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.3532, allocations: 35.97 kB / 0.8591 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.3532, allocations: 28 kB / 0.8591 GB, free: 15.03 MB / 0.6856 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.0003255/0.3536, allocations: 213.6 kB / 0.8593 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-05/0.3537, allocations: 63.25 kB / 0.8594 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.3547, allocations: 0.6086 MB / 0.86 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.3547, allocations: 4 kB / 0.86 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3547, allocations: 8 kB / 0.86 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3548, allocations: 0 / 0.86 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.3566, allocations: 1.254 MB / 0.8612 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.3566, allocations: 0 / 0.8612 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.3569, allocations: 55.95 kB / 0.8613 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003919/0.3573, allocations: 144.3 kB / 0.8614 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.3573, allocations: 11.94 kB / 0.8614 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004313/0.3617, allocations: 4.336 MB / 0.8656 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.3617, allocations: 4 kB / 0.8656 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.3633, allocations: 0.7154 MB / 0.8663 GB, free: 7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/0.3636, allocations: 168.3 kB / 0.8665 GB, free: 6.816 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.3637, allocations: 11.83 kB / 0.8665 GB, free: 6.809 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.364, allocations: 23.97 kB / 0.8665 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/0.3641, allocations: 35.91 kB / 0.8666 GB, free: 6.75 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.3641, allocations: 8 kB / 0.8666 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004341/0.3645, allocations: 334.8 kB / 0.8669 GB, free: 6.418 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3646, allocations: 0 / 0.8669 GB, free: 6.418 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007529/0.3653, allocations: 140 kB / 0.867 GB, free: 6.281 MB / 0.6856 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.0002122/0.3655, allocations: 113.9 kB / 0.8671 GB, free: 6.16 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001784/0.3673, allocations: 1.037 MB / 0.8682 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3673, allocations: 0 / 0.8682 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009503/0.3683, allocations: 0.7384 MB / 0.8689 GB, free: 4.223 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.3693, allocations: 202.2 kB / 0.8691 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.3715, allocations: 1.027 MB / 0.8701 GB, free: 2.949 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006755/0.3722, allocations: 0.9097 MB / 0.871 GB, free: 2.012 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003899/0.3726, allocations: 113.3 kB / 0.8711 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.121e-05/0.3727, allocations: 39.44 kB / 0.8711 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of SimCode: time 6.91e-07/0.3727, allocations: 4 kB / 0.8711 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of Templates: time 0.0198/0.3925, allocations: 7.694 MB / 0.8786 GB, free: 10.26 MB / 0.7012 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)