Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.001419/0.00142, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001751/0.001751, allocations: 196.1 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.732/2.732, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 61.77 kB / 0.9114 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2933, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005882/0.2993, allocations: 4.873 MB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003576/0.3029, allocations: 2.467 MB / 1.075 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.3031, allocations: 23.81 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.3042, allocations: 376.4 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007429/0.3049, allocations: 410.1 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006777/0.3056, allocations: 346.6 kB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009293/0.3065, allocations: 1.128 MB / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005279/0.3071, allocations: 347.3 kB / 1.077 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003422/0.3074, allocations: 290.7 kB / 1.078 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003857/0.3078, allocations: 366.4 kB / 1.078 GB, free: 316 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.114e-05/0.3079, allocations: 24 kB / 1.078 GB, free: 292 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006916/0.3086, allocations: 498.9 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.3088, allocations: 175.4 kB / 1.079 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002586/0.309, allocations: 294.3 kB / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008483/0.3099, allocations: 0.8956 MB / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3099, allocations: 0 / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.62e-07/0.3099, allocations: 0 / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.3099, allocations: 0 / 1.08 GB, free: 14.44 MB / 0.8419 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.001287/0.3112, allocations: 0.9424 MB / 1.081 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.3113, allocations: 8.031 kB / 1.081 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.3125, allocations: 203.9 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006037/0.3131, allocations: 490.4 kB / 1.081 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.3132, allocations: 33.36 kB / 1.081 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.318e-05/0.3133, allocations: 52.27 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.3143, allocations: 0.8485 MB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.3143, allocations: 3.938 kB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.948e-05/0.3144, allocations: 23.98 kB / 1.082 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.828e-05/0.3145, allocations: 68.95 kB / 1.082 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007854/0.3153, allocations: 0.5656 MB / 1.083 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004445/0.3197, allocations: 5.658 MB / 1.088 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/0.3203, allocations: 461.1 kB / 1.089 GB, free: 4.484 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.3206, allocations: 220.7 kB / 1.089 GB, free: 4.266 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.3207, allocations: 4 kB / 1.089 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.3207, allocations: 38.56 kB / 1.089 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=32): time 1.593e-06/0.3207, allocations: 0 / 1.089 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.00249/0.3232, allocations: 1.516 MB / 1.091 GB, free: 2.582 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.3233, allocations: 59.69 kB / 1.091 GB, free: 2.512 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005165/0.3238, allocations: 495 kB / 1.091 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.3238, allocations: 29.7 kB / 1.091 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.3241, allocations: 354.8 kB / 1.091 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.3242, allocations: 126.3 kB / 1.092 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.3243, allocations: 110.2 kB / 1.092 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3245, allocations: 366.8 kB / 1.092 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.3248, allocations: 193.2 kB / 1.092 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/0.3253, allocations: 447.3 kB / 1.093 GB, free: 284 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007875/0.3261, allocations: 0.6952 MB / 1.093 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.3261, allocations: 4 kB / 1.093 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001208/0.3273, allocations: 0.8054 MB / 1.094 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3273, allocations: 8 kB / 1.094 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-05/0.3274, allocations: 8 kB / 1.094 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005173/0.3279, allocations: 168.6 kB / 1.094 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004314/0.3283, allocations: 119.8 kB / 1.094 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003117/0.3315, allocations: 4.04 MB / 1.098 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.3318, allocations: 35.91 kB / 1.098 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.3318, allocations: 28 kB / 1.098 GB, free: 9.816 MB / 0.8575 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.0002372/0.3321, allocations: 213.5 kB / 1.099 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.973e-05/0.3322, allocations: 55.44 kB / 1.099 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009921/0.3332, allocations: 0.5969 MB / 1.099 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.3332, allocations: 4 kB / 1.099 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.3332, allocations: 3.938 kB / 1.099 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.3332, allocations: 7.922 kB / 1.099 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.3349, allocations: 1.253 MB / 1.1 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3349, allocations: 4 kB / 1.1 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.3351, allocations: 51.95 kB / 1.101 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004025/0.3356, allocations: 148.3 kB / 1.101 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.3356, allocations: 12 kB / 1.101 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002831/0.3384, allocations: 4.025 MB / 1.105 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3384, allocations: 3.938 kB / 1.105 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009669/0.3394, allocations: 0.7038 MB / 1.105 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.3396, allocations: 164.3 kB / 1.105 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-05/0.3397, allocations: 19.86 kB / 1.105 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.34, allocations: 23.97 kB / 1.105 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.26e-05/0.34, allocations: 31.97 kB / 1.106 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.3401, allocations: 12 kB / 1.106 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003258/0.3404, allocations: 334.8 kB / 1.106 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3404, allocations: 0 / 1.106 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006228/0.341, allocations: 140 kB / 1.106 GB, free: 1.426 MB / 0.8575 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.0001298/0.3412, allocations: 115.1 kB / 1.106 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.3425, allocations: 1.028 MB / 1.107 GB, free: 196 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3426, allocations: 0.9375 kB / 1.107 GB, free: 196 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008462/0.3434, allocations: 0.7421 MB / 1.108 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009796/0.3444, allocations: 194.4 kB / 1.108 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.3461, allocations: 1.255 MB / 1.109 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.3466, allocations: 0.9019 MB / 1.11 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000348/0.3469, allocations: 113.3 kB / 1.11 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.3471, allocations: 39.44 kB / 1.11 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.3471, allocations: 4 kB / 1.11 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of Templates: time 0.01332/0.3604, allocations: 7.329 MB / 1.117 GB, free: 5.547 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)