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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.794/1.794, allocations: 293 MB / 309 MB, free: 4.848 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.000959/0.0009591, allocations: 184.5 kB / 378.7 MB, free: 1.031 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.75/1.75, allocations: 205.4 MB / 0.6383 GB, free: 8.23 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.0007815/0.0007815, allocations: 89.02 kB / 0.7527 GB, free: 62.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.0004021, allocations: 16 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2827, allocations: 116.4 MB / 0.9905 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7879/1.071, allocations: 154.9 MB / 1.142 GB, free: 22.23 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/1.071, allocations: 92.22 kB / 1.142 GB, free: 22.15 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.09577/1.167, allocations: 29.65 MB / 1.171 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.713e-06/1.167, allocations: 0 / 1.171 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.864e-05/1.167, allocations: 23.98 kB / 1.171 GB, free: 12.82 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.002236/1.169, allocations: 0.8386 MB / 1.172 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/1.169, allocations: 8.031 kB / 1.172 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/1.171, allocations: 211.8 kB / 1.172 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/1.172, allocations: 497.3 kB / 1.172 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/1.172, allocations: 33.36 kB / 1.172 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/1.173, allocations: 48.36 kB / 1.172 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/1.174, allocations: 0.936 MB / 1.173 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.178e-05/1.174, allocations: 12.03 kB / 1.173 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.498e-05/1.174, allocations: 23.94 kB / 1.173 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-05/1.174, allocations: 52.97 kB / 1.173 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/1.176, allocations: 0.5695 MB / 1.174 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005866/1.182, allocations: 5.666 MB / 1.179 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000922/1.183, allocations: 450.2 kB / 1.18 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004508/1.183, allocations: 231.4 kB / 1.18 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/1.183, allocations: 8 kB / 1.18 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/1.183, allocations: 38.55 kB / 1.18 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=32): time 3.146e-06/1.183, allocations: 0 / 1.18 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.003776/1.187, allocations: 1.499 MB / 1.182 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/1.187, allocations: 59.34 kB / 1.182 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009932/1.188, allocations: 0.4912 MB / 1.182 GB, free: 372 kB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/1.188, allocations: 29.7 kB / 1.182 GB, free: 336 kB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/1.188, allocations: 343 kB / 1.182 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/1.189, allocations: 114.4 kB / 1.183 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/1.189, allocations: 12 kB / 1.183 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002465/1.189, allocations: 366.8 kB / 1.183 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004897/1.189, allocations: 185 kB / 1.183 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007463/1.19, allocations: 409.8 kB / 1.184 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/1.191, allocations: 0.6442 MB / 1.184 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/1.191, allocations: 4 kB / 1.184 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002055/1.194, allocations: 0.7795 MB / 1.185 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/1.194, allocations: 8 kB / 1.185 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/1.194, allocations: 8 kB / 1.185 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007061/1.194, allocations: 152.4 kB / 1.185 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006784/1.195, allocations: 111.8 kB / 1.185 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004451/1.2, allocations: 4.023 MB / 1.189 GB, free: 8.551 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006925/1.2, allocations: 44.06 kB / 1.189 GB, free: 8.508 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.837e-05/1.2, allocations: 28 kB / 1.189 GB, free: 8.48 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 () * Number of clocked 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.0004682/1.201, allocations: 207.2 kB / 1.189 GB, free: 8.27 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/1.201, allocations: 59.25 kB / 1.189 GB, free: 8.211 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/1.202, allocations: 0.6007 MB / 1.19 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/1.202, allocations: 5.875 kB / 1.19 GB, free: 7.578 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/1.203, allocations: 0 / 1.19 GB, free: 7.578 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.203, allocations: 0 / 1.19 GB, free: 7.578 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002713/1.205, allocations: 1.257 MB / 1.191 GB, free: 6.227 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.205, allocations: 4 kB / 1.191 GB, free: 6.223 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/1.206, allocations: 59.77 kB / 1.191 GB, free: 6.164 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/1.206, allocations: 144.4 kB / 1.191 GB, free: 6.008 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/1.206, allocations: 8 kB / 1.191 GB, free: 6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003584/1.21, allocations: 4.04 MB / 1.195 GB, free: 1.574 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.21, allocations: 0 / 1.195 GB, free: 1.574 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/1.211, allocations: 0.7062 MB / 1.196 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/1.211, allocations: 168.4 kB / 1.196 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.689e-05/1.211, allocations: 11.94 kB / 1.196 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/1.211, allocations: 23.97 kB / 1.196 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/1.211, allocations: 35.89 kB / 1.196 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/1.212, allocations: 8 kB / 1.196 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003772/1.212, allocations: 334.8 kB / 1.197 GB, free: 236 kB / 0.7605 GB Notification: Performance of sort global known variables: time 1.6e-07/1.212, allocations: 0 / 1.197 GB, free: 236 kB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006428/1.213, allocations: 147.9 kB / 1.197 GB, free: 88 kB / 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 () * 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.0002009/1.213, allocations: 119.2 kB / 1.197 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001358/1.214, allocations: 1.014 MB / 1.198 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/1.214, allocations: 3.938 kB / 1.198 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0008003/1.215, allocations: 0.723 MB / 1.199 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/1.216, allocations: 191 kB / 1.199 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/1.218, allocations: 1.211 MB / 1.2 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/1.218, allocations: 0.9058 MB / 1.201 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003628/1.219, allocations: 119.7 kB / 1.201 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.311e-05/1.219, allocations: 35.44 kB / 1.201 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of SimCode: time 3.086e-06/1.219, allocations: 0 / 1.201 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of Templates: time 0.01345/1.232, allocations: 7.163 MB / 1.208 GB, free: 4.492 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)