Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000932/0.000932, allocations: 91.3 kB / 15.36 MB, free: 0.7344 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.006063/0.006063, allocations: 171.3 kB / 16.26 MB, free: 6.68 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.374/1.374, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.827/2.827, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003499, allocations: 12.12 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2936, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003968/0.2977, allocations: 3.409 MB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002682/0.3004, allocations: 1.778 MB / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.3006, allocations: 19.88 kB / 1.079 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.3008, allocations: 59.5 kB / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000618/0.3014, allocations: 266.7 kB / 1.08 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000528/0.302, allocations: 231.6 kB / 1.08 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007114/0.3027, allocations: 0.7336 MB / 1.08 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006815/0.3034, allocations: 370.8 kB / 1.081 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003074/0.3037, allocations: 203.1 kB / 1.081 GB, free: 444 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002868/0.304, allocations: 223 kB / 1.081 GB, free: 220 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.304, allocations: 12 kB / 1.081 GB, free: 208 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004805/0.3045, allocations: 339.3 kB / 1.082 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.3047, allocations: 107.6 kB / 1.082 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.3049, allocations: 216.6 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005665/0.3054, allocations: 0.5802 MB / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3055, allocations: 4 kB / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3055, allocations: 0 / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.3055, allocations: 0 / 1.082 GB, free: 14.96 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009736/0.3065, allocations: 0.6701 MB / 1.083 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.3065, allocations: 12.03 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008885/0.3074, allocations: 140.2 kB / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004718/0.3079, allocations: 375.6 kB / 1.084 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.3079, allocations: 25.03 kB / 1.084 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.773e-05/0.308, allocations: 28.36 kB / 1.084 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007686/0.3088, allocations: 0.5589 MB / 1.084 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.3088, allocations: 11.84 kB / 1.084 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/0.3088, allocations: 15.98 kB / 1.084 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.063e-05/0.3089, allocations: 44.52 kB / 1.084 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006996/0.3096, allocations: 421.7 kB / 1.085 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002589/0.3122, allocations: 3.33 MB / 1.088 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/0.3129, allocations: 338.5 kB / 1.088 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.3132, allocations: 181.4 kB / 1.088 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.3132, allocations: 8 kB / 1.088 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.3133, allocations: 38.56 kB / 1.088 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=26): time 1.914e-06/0.3133, allocations: 0 / 1.088 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27): time 0.002028/0.3153, allocations: 1.088 MB / 1.09 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.3153, allocations: 55.64 kB / 1.09 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.3157, allocations: 345.5 kB / 1.09 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.3157, allocations: 29.7 kB / 1.09 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.3158, allocations: 239.5 kB / 1.09 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.153e-05/0.3159, allocations: 102.6 kB / 1.09 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.316, allocations: 33.7 kB / 1.09 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.3161, allocations: 346.8 kB / 1.091 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.3164, allocations: 160.8 kB / 1.091 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/0.3168, allocations: 295 kB / 1.091 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006882/0.3174, allocations: 490.3 kB / 1.092 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3175, allocations: 0 / 1.092 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001012/0.3185, allocations: 0.5776 MB / 1.092 GB, free: 4.391 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3185, allocations: 8 kB / 1.092 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3185, allocations: 4 kB / 1.092 GB, free: 4.379 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003045/0.3188, allocations: 94.95 kB / 1.092 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.3192, allocations: 91.83 kB / 1.092 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.3192, allocations: 7.984 kB / 1.092 GB, free: 4.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.3195, allocations: 35.91 kB / 1.092 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.3195, allocations: 20 kB / 1.092 GB, free: 4.125 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001809/0.3197, allocations: 177.6 kB / 1.093 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/0.3198, allocations: 43.47 kB / 1.093 GB, free: 3.898 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009045/0.3207, allocations: 476 kB / 1.093 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3207, allocations: 4 kB / 1.093 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3207, allocations: 7.938 kB / 1.093 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3207, allocations: 0 / 1.093 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.3221, allocations: 0.977 MB / 1.094 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3221, allocations: 0 / 1.094 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.3224, allocations: 55.95 kB / 1.094 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002309/0.3226, allocations: 74.52 kB / 1.094 GB, free: 2.215 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.3227, allocations: 16.03 kB / 1.094 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3227, allocations: 0 / 1.094 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3227, allocations: 4 kB / 1.094 GB, free: 2.195 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000832/0.3235, allocations: 0.5506 MB / 1.095 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.3237, allocations: 136.6 kB / 1.095 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.3237, allocations: 8 kB / 1.095 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.324, allocations: 27.97 kB / 1.095 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/0.324, allocations: 31.89 kB / 1.095 GB, free: 1.391 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.3241, allocations: 8 kB / 1.095 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002123/0.3243, allocations: 235.2 kB / 1.095 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3243, allocations: 0 / 1.095 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000412/0.3247, allocations: 84 kB / 1.095 GB, free: 1.074 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001274/0.3248, allocations: 103.2 kB / 1.095 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008833/0.3257, allocations: 0.6447 MB / 1.096 GB, free: 260 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3257, allocations: 0 / 1.096 GB, free: 260 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004569/0.3262, allocations: 445.6 kB / 1.096 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007572/0.327, allocations: 114.8 kB / 1.096 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.3281, allocations: 0.9158 MB / 1.097 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.3285, allocations: 0.8236 MB / 1.098 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002427/0.3288, allocations: 75.36 kB / 1.098 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.3288, allocations: 27.44 kB / 1.098 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.3288, allocations: 0 / 1.098 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of Templates: time 0.008745/0.3376, allocations: 4.464 MB / 1.103 GB, free: 9.328 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)