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.VariableImpedance.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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.703/1.703, allocations: 288.3 MB / 303.2 MB, free: 8.078 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.001346/0.001347, allocations: 195.6 kB / 371.9 MB, free: 10.27 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.805/1.805, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009493/0.0009499, allocations: 91.38 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000511/0.000511, allocations: 10.97 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.306, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004583/0.3107, allocations: 3.166 MB / 0.9825 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003138/0.3139, allocations: 1.713 MB / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005208/0.3144, allocations: 15.88 kB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.3148, allocations: 51.67 kB / 0.9843 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.3158, allocations: 235.2 kB / 0.9845 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007852/0.3167, allocations: 189.1 kB / 0.9847 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000546/0.3172, allocations: 388.8 kB / 0.985 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006058/0.3178, allocations: 338.5 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.3181, allocations: 199.2 kB / 0.9855 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.3184, allocations: 187.2 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/0.3185, allocations: 12 kB / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002526/0.3187, allocations: 95.88 kB / 0.9858 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.92e-05/0.3188, allocations: 95.66 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.322e-05/0.3189, allocations: 101.5 kB / 0.986 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.3193, allocations: 403.2 kB / 0.9864 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3193, allocations: 0 / 0.9864 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3193, allocations: 0 / 0.9864 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.587e-06/0.3193, allocations: 4 kB / 0.9864 GB, free: 20.49 MB / 0.6198 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.001078/0.3204, allocations: 0.6621 MB / 0.987 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3204, allocations: 12.03 kB / 0.9871 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006592/0.3211, allocations: 135.2 kB / 0.9872 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.3216, allocations: 354.6 kB / 0.9875 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.3216, allocations: 24.64 kB / 0.9875 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.3217, allocations: 28 kB / 0.9876 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006965/0.3224, allocations: 0.5522 MB / 0.9881 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.3224, allocations: 3.938 kB / 0.9881 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.3224, allocations: 19.92 kB / 0.9881 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-05/0.3225, allocations: 44.53 kB / 0.9882 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005865/0.3231, allocations: 417.7 kB / 0.9886 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002328/0.3254, allocations: 3.337 MB / 0.9918 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006029/0.326, allocations: 338.7 kB / 0.9922 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.3261, allocations: 0 / 0.9922 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.3261, allocations: 38.56 kB / 0.9922 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.553e-06/0.3261, allocations: 0 / 0.9922 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001843/0.328, allocations: 1.086 MB / 0.9933 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.328, allocations: 55.64 kB / 0.9933 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.3283, allocations: 337.6 kB / 0.9936 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.3284, allocations: 29.7 kB / 0.9937 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.3285, allocations: 251.5 kB / 0.9939 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.293e-05/0.3286, allocations: 94.66 kB / 0.994 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/0.3286, allocations: 4 kB / 0.994 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.3287, allocations: 346.8 kB / 0.9943 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.3289, allocations: 152.8 kB / 0.9945 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.3292, allocations: 299 kB / 0.9948 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.3295, allocations: 191.8 kB / 0.9949 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3295, allocations: 4 kB / 0.9949 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008068/0.3303, allocations: 0.5743 MB / 0.9955 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3304, allocations: 11.94 kB / 0.9955 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3304, allocations: 4 kB / 0.9955 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002984/0.3307, allocations: 83.02 kB / 0.9956 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.331, allocations: 95.88 kB / 0.9957 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.331, allocations: 7.938 kB / 0.9957 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.3313, allocations: 35.91 kB / 0.9957 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.3313, allocations: 19.98 kB / 0.9957 GB, free: 10.29 MB / 0.6198 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.3315, allocations: 183.2 kB / 0.9959 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.3315, allocations: 39.53 kB / 0.996 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007627/0.3323, allocations: 460.1 kB / 0.9964 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3323, allocations: 4 kB / 0.9964 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3323, allocations: 7.953 kB / 0.9964 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3323, allocations: 7.984 kB / 0.9964 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.3335, allocations: 0.9638 MB / 0.9974 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3335, allocations: 0 / 0.9974 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.3337, allocations: 55.84 kB / 0.9974 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001968/0.3339, allocations: 82.5 kB / 0.9975 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.334, allocations: 8.094 kB / 0.9975 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.334, allocations: 8 kB / 0.9975 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.334, allocations: 0 / 0.9975 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006805/0.3347, allocations: 0.583 MB / 0.9981 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.3348, allocations: 144.5 kB / 0.9982 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.686e-05/0.3349, allocations: 4 kB / 0.9982 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.3351, allocations: 39.84 kB / 0.9983 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.3351, allocations: 15.97 kB / 0.9983 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.3352, allocations: 15.98 kB / 0.9983 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000183/0.3353, allocations: 235.1 kB / 0.9985 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3354, allocations: 0 / 0.9985 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003808/0.3357, allocations: 84 kB / 0.9986 GB, free: 7.195 MB / 0.6198 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001396/0.3359, allocations: 111.2 kB / 0.9987 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000708/0.3366, allocations: 0.636 MB / 0.9993 GB, free: 6.379 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3366, allocations: 7.938 kB / 0.9993 GB, free: 6.371 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003379/0.337, allocations: 433.7 kB / 0.9997 GB, free: 5.883 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005466/0.3375, allocations: 119.6 kB / 0.9999 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.3385, allocations: 0.8614 MB / 1.001 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.3389, allocations: 0.8317 MB / 1.002 GB, free: 4.012 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002226/0.3391, allocations: 91.31 kB / 1.002 GB, free: 3.918 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.127e-05/0.3392, allocations: 27.44 kB / 1.002 GB, free: 3.891 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.3392, allocations: 0 / 1.002 GB, free: 3.891 MB / 0.6198 GB Notification: Performance of Templates: time 0.00726/0.3464, allocations: 4.306 MB / 1.006 GB, free: 15.64 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)