Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.637/1.637, allocations: 289.7 MB / 302.2 MB, free: 2.09 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.001104/0.001104, allocations: 184.1 kB / 371.6 MB, free: 3.426 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.818/1.818, allocations: 205.2 MB / 0.6309 GB, free: 11.73 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.0009608/0.0009611, allocations: 87.48 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.76e-05/4.763e-05, allocations: 0 / 0.8662 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3153, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9276/1.243, allocations: 154.7 MB / 1.131 GB, free: 33.52 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/1.243, allocations: 92.95 kB / 1.131 GB, free: 33.49 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.06689/1.31, allocations: 29.45 MB / 1.16 GB, free: 18.24 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.534e-06/1.31, allocations: 1.688 kB / 1.16 GB, free: 18.24 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.902e-05/1.31, allocations: 23.92 kB / 1.16 GB, free: 18.21 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.001063/1.311, allocations: 0.779 MB / 1.161 GB, free: 17.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/1.311, allocations: 8.031 kB / 1.161 GB, free: 17.49 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/1.313, allocations: 201.7 kB / 1.161 GB, free: 17.35 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006886/1.313, allocations: 484.7 kB / 1.161 GB, free: 16.94 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/1.313, allocations: 38.44 kB / 1.161 GB, free: 16.92 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.761e-05/1.313, allocations: 48.42 kB / 1.161 GB, free: 16.89 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009566/1.314, allocations: 0.9153 MB / 1.162 GB, free: 16.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/1.314, allocations: 11.92 kB / 1.162 GB, free: 16.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-05/1.314, allocations: 26.48 kB / 1.162 GB, free: 16.01 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.07e-05/1.315, allocations: 52.5 kB / 1.162 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006484/1.315, allocations: 0.5482 MB / 1.163 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003094/1.318, allocations: 5.663 MB / 1.168 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004952/1.319, allocations: 455.5 kB / 1.169 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/1.319, allocations: 223.9 kB / 1.169 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/1.319, allocations: 7.984 kB / 1.169 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/1.319, allocations: 41.94 kB / 1.169 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=32): time 2.114e-06/1.319, allocations: 0 / 1.169 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.001394/1.321, allocations: 0.8386 MB / 1.17 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/1.321, allocations: 59.36 kB / 1.17 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/1.321, allocations: 424.2 kB / 1.17 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/1.321, allocations: 33.08 kB / 1.17 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/1.321, allocations: 348.9 kB / 1.171 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.076e-05/1.321, allocations: 119.2 kB / 1.171 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.906e-05/1.321, allocations: 7.312 kB / 1.171 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.321, allocations: 367.9 kB / 1.171 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/1.322, allocations: 183 kB / 1.171 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/1.322, allocations: 405 kB / 1.172 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/1.322, allocations: 249.3 kB / 1.172 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/1.322, allocations: 4 kB / 1.172 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009469/1.323, allocations: 0.764 MB / 1.173 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.323, allocations: 8.938 kB / 1.173 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.323, allocations: 12 kB / 1.173 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000413/1.324, allocations: 149.4 kB / 1.173 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/1.324, allocations: 114.9 kB / 1.173 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/1.326, allocations: 4.036 MB / 1.177 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/1.327, allocations: 31.09 kB / 1.177 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/1.327, allocations: 23.88 kB / 1.177 GB, free: 1.66 MB / 0.7448 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.0001044/1.327, allocations: 150.8 kB / 1.177 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.345e-05/1.327, allocations: 55.34 kB / 1.177 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008503/1.328, allocations: 0.5907 MB / 1.178 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/1.328, allocations: 4 kB / 1.178 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.328, allocations: 4 kB / 1.178 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/1.328, allocations: 0 / 1.178 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/1.329, allocations: 1.259 MB / 1.179 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.329, allocations: 4.219 kB / 1.179 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/1.33, allocations: 55.89 kB / 1.179 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003755/1.33, allocations: 139.5 kB / 1.179 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/1.33, allocations: 11.45 kB / 1.179 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002783/1.333, allocations: 4.01 MB / 1.183 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.333, allocations: 8.031 kB / 1.183 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/1.334, allocations: 0.7884 MB / 1.184 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/1.334, allocations: 173 kB / 1.184 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/1.334, allocations: 7.062 kB / 1.184 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/1.334, allocations: 26.28 kB / 1.184 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/1.335, allocations: 31.41 kB / 1.184 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/1.335, allocations: 8 kB / 1.184 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003525/1.335, allocations: 324.7 kB / 1.184 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.51e-07/1.335, allocations: 0 / 1.184 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006205/1.336, allocations: 148.8 kB / 1.185 GB, free: 10.14 MB / 0.7605 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.0001744/1.336, allocations: 123.7 kB / 1.185 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001237/1.337, allocations: 0.9996 MB / 1.186 GB, free: 9.074 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.337, allocations: 0 / 1.186 GB, free: 9.074 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007579/1.338, allocations: 0.7342 MB / 1.186 GB, free: 8.324 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007966/1.339, allocations: 187.5 kB / 1.187 GB, free: 8.184 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/1.34, allocations: 0.7431 MB / 1.187 GB, free: 7.48 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/1.34, allocations: 0.9157 MB / 1.188 GB, free: 6.547 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003362/1.341, allocations: 115.1 kB / 1.188 GB, free: 6.434 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.117e-05/1.341, allocations: 46.86 kB / 1.188 GB, free: 6.391 MB / 0.7605 GB Notification: Performance of SimCode: time 7.32e-07/1.341, allocations: 0 / 1.188 GB, free: 6.391 MB / 0.7605 GB Notification: Performance of Templates: time 0.01263/1.353, allocations: 7.04 MB / 1.195 GB, free: 15.45 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)