Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.629/1.629, allocations: 285.6 MB / 293.1 MB, free: 10.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001325/0.001325, allocations: 176.8 kB / 361.4 MB, free: 6.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.3 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001094, allocations: 97.23 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.703e-05/1.715e-05, allocations: 4 kB / 0.8518 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7963/0.7964, allocations: 115.3 MB / 0.9644 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2162/1.013, allocations: 153.1 MB / 1.114 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/1.013, allocations: 93.59 kB / 1.114 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.07494/1.088, allocations: 29.36 MB / 1.143 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.084e-06/1.088, allocations: 0 / 1.143 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.486e-05/1.088, allocations: 16 kB / 1.143 GB, free: 5.117 MB / 0.7448 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.002036/1.09, allocations: 0.7634 MB / 1.143 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.278e-05/1.09, allocations: 16.02 kB / 1.143 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/1.092, allocations: 203.9 kB / 1.144 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/1.093, allocations: 490.5 kB / 1.144 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/1.093, allocations: 16 kB / 1.144 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.109e-05/1.093, allocations: 24 kB / 1.144 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008414/1.094, allocations: 418.4 kB / 1.144 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/1.095, allocations: 0.8515 MB / 1.145 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.572e-05/1.095, allocations: 7.938 kB / 1.145 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/1.095, allocations: 8 kB / 1.145 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-05/1.095, allocations: 56.73 kB / 1.145 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004947/1.1, allocations: 5.543 MB / 1.151 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006418/1.101, allocations: 440.2 kB / 1.151 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/1.101, allocations: 217.3 kB / 1.151 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/1.101, allocations: 7.75 kB / 1.151 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/1.102, allocations: 42.55 kB / 1.151 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 3.436e-06/1.102, allocations: 0 / 1.151 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.00177/1.103, allocations: 0.7934 MB / 1.152 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/1.103, allocations: 55.41 kB / 1.152 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004219/1.104, allocations: 353.3 kB / 1.153 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/1.104, allocations: 25.7 kB / 1.153 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/1.104, allocations: 347.5 kB / 1.153 GB, free: 9.781 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/1.104, allocations: 118.3 kB / 1.153 GB, free: 9.664 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/1.104, allocations: 0 / 1.153 GB, free: 9.664 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000194/1.104, allocations: 362.7 kB / 1.153 GB, free: 9.301 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/1.105, allocations: 173.1 kB / 1.154 GB, free: 9.129 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/1.105, allocations: 388.7 kB / 1.154 GB, free: 8.648 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/1.105, allocations: 240 kB / 1.154 GB, free: 8.414 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.105, allocations: 4 kB / 1.154 GB, free: 8.41 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001173/1.107, allocations: 0.6882 MB / 1.155 GB, free: 7.699 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/1.107, allocations: 8 kB / 1.155 GB, free: 7.691 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/1.107, allocations: 8 kB / 1.155 GB, free: 7.684 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005295/1.107, allocations: 156.7 kB / 1.155 GB, free: 7.516 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004362/1.108, allocations: 111.8 kB / 1.155 GB, free: 7.406 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003382/1.111, allocations: 3.879 MB / 1.159 GB, free: 3.188 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/1.112, allocations: 19.97 kB / 1.159 GB, free: 3.168 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/1.112, allocations: 28.5 kB / 1.159 GB, free: 3.141 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * 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.0001517/1.112, allocations: 128.7 kB / 1.159 GB, free: 3.008 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.815e-05/1.112, allocations: 55.34 kB / 1.159 GB, free: 2.953 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/1.113, allocations: 0.5499 MB / 1.16 GB, free: 2.379 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/1.113, allocations: 4 kB / 1.16 GB, free: 2.375 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/1.113, allocations: 0.5 kB / 1.16 GB, free: 2.375 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.113, allocations: 4 kB / 1.16 GB, free: 2.371 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/1.115, allocations: 1.151 MB / 1.161 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/1.115, allocations: 5.688 kB / 1.161 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/1.115, allocations: 51.95 kB / 1.161 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004056/1.115, allocations: 144.3 kB / 1.161 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/1.115, allocations: 4 kB / 1.161 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003179/1.119, allocations: 3.862 MB / 1.165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/1.119, allocations: 3.938 kB / 1.165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/1.12, allocations: 0.7551 MB / 1.166 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/1.12, allocations: 164.3 kB / 1.166 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/1.12, allocations: 5.875 kB / 1.166 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/1.12, allocations: 15.97 kB / 1.166 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.184e-05/1.12, allocations: 43.22 kB / 1.166 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/1.12, allocations: 12 kB / 1.166 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003009/1.121, allocations: 263 kB / 1.166 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.4e-07/1.121, allocations: 0 / 1.166 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006892/1.121, allocations: 124 kB / 1.166 GB, free: 11.24 MB / 0.7761 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 () * 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.0002009/1.122, allocations: 113.2 kB / 1.166 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00137/1.123, allocations: 0.9518 MB / 1.167 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.123, allocations: 3.938 kB / 1.167 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007723/1.124, allocations: 0.7041 MB / 1.168 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008379/1.125, allocations: 168.2 kB / 1.168 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/1.126, allocations: 0.7224 MB / 1.169 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005784/1.127, allocations: 0.9178 MB / 1.17 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003572/1.127, allocations: 111 kB / 1.17 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.088e-05/1.127, allocations: 35.44 kB / 1.17 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of SimCode: time 8.72e-07/1.127, allocations: 0 / 1.17 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of Templates: time 0.01236/1.139, allocations: 6.357 MB / 1.176 GB, free: 1.117 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)