Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_8_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_8_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.0009891/0.0009892, allocations: 97.33 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.008441/0.008442, allocations: 172.2 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.917/1.917, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007715/0.0007715, allocations: 14.56 kB / 0.6743 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3525, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005124/0.3577, allocations: 3.409 MB / 0.7912 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003628/0.3614, allocations: 1.814 MB / 0.793 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.3616, allocations: 15.88 kB / 0.793 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.3619, allocations: 59.44 kB / 0.7931 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007117/0.3626, allocations: 270.7 kB / 0.7933 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000567/0.3632, allocations: 227.6 kB / 0.7935 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008318/0.364, allocations: 0.7452 MB / 0.7943 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007311/0.3648, allocations: 358.9 kB / 0.7946 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003415/0.3651, allocations: 207 kB / 0.7948 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003787/0.3655, allocations: 230.9 kB / 0.795 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.3655, allocations: 12 kB / 0.795 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006283/0.3662, allocations: 339.3 kB / 0.7954 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.3663, allocations: 107.6 kB / 0.7955 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.3665, allocations: 212.6 kB / 0.7957 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006354/0.3672, allocations: 0.5802 MB / 0.7962 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.3672, allocations: 0 / 0.7962 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3672, allocations: 4 kB / 0.7962 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.3672, allocations: 0 / 0.7962 GB, free: 2.957 MB / 0.6075 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.001207/0.3684, allocations: 0.6778 MB / 0.7969 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3685, allocations: 8.031 kB / 0.7969 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008952/0.3694, allocations: 136.2 kB / 0.797 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004984/0.3699, allocations: 371.7 kB / 0.7974 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.37, allocations: 25.02 kB / 0.7974 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/0.37, allocations: 28.28 kB / 0.7974 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008612/0.3709, allocations: 0.5628 MB / 0.798 GB, free: 1 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.3709, allocations: 7.938 kB / 0.798 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.371, allocations: 12 kB / 0.798 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-05/0.3711, allocations: 44.53 kB / 0.798 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007526/0.3718, allocations: 417.7 kB / 0.7984 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003057/0.3749, allocations: 3.33 MB / 0.8017 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000677/0.3756, allocations: 347 kB / 0.802 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/0.3759, allocations: 180.8 kB / 0.8022 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.376, allocations: 4 kB / 0.8022 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.376, allocations: 38.56 kB / 0.8022 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=26): time 1.703e-06/0.376, allocations: 0 / 0.8022 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=27): time 0.002153/0.3782, allocations: 1.081 MB / 0.8033 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.3782, allocations: 59.64 kB / 0.8034 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.3786, allocations: 337.5 kB / 0.8037 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.3786, allocations: 33.7 kB / 0.8037 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.3788, allocations: 247.5 kB / 0.8039 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.38e-05/0.3789, allocations: 94.66 kB / 0.804 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.3789, allocations: 37.7 kB / 0.8041 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3791, allocations: 342.8 kB / 0.8044 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.3794, allocations: 160.8 kB / 0.8046 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.3798, allocations: 296.9 kB / 0.8048 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007069/0.3805, allocations: 0.49 MB / 0.8053 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3805, allocations: 0 / 0.8053 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00102/0.3815, allocations: 0.5735 MB / 0.8059 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.3816, allocations: 8 kB / 0.8059 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.3816, allocations: 4 kB / 0.8059 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003069/0.3819, allocations: 82.52 kB / 0.806 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.3823, allocations: 104.1 kB / 0.8061 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.3823, allocations: 7.938 kB / 0.8061 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.3826, allocations: 35.91 kB / 0.8061 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.3826, allocations: 16 kB / 0.8061 GB, free: 8.141 MB / 0.6231 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.0002082/0.3828, allocations: 181.6 kB / 0.8063 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.506e-05/0.3829, allocations: 39.53 kB / 0.8063 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009452/0.3838, allocations: 484.1 kB / 0.8068 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3839, allocations: 0 / 0.8068 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3839, allocations: 4 kB / 0.8068 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3839, allocations: 7.984 kB / 0.8068 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.3853, allocations: 0.9659 MB / 0.8077 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3853, allocations: 3.984 kB / 0.8078 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.3855, allocations: 51.91 kB / 0.8078 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002347/0.3858, allocations: 82.5 kB / 0.8079 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.3858, allocations: 8 kB / 0.8079 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3858, allocations: 96 / 0.8079 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3858, allocations: 11.94 kB / 0.8079 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000831/0.3867, allocations: 0.5545 MB / 0.8084 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.3868, allocations: 136.6 kB / 0.8086 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/0.3869, allocations: 8 kB / 0.8086 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.3871, allocations: 19.97 kB / 0.8086 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/0.3872, allocations: 27.91 kB / 0.8086 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.3872, allocations: 12 kB / 0.8086 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002188/0.3875, allocations: 239.2 kB / 0.8089 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3875, allocations: 0 / 0.8089 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004138/0.3879, allocations: 84 kB / 0.8089 GB, free: 5.09 MB / 0.6231 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.0001461/0.388, allocations: 111.2 kB / 0.809 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009401/0.389, allocations: 0.6431 MB / 0.8097 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.389, allocations: 128 / 0.8097 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000482/0.3895, allocations: 447.1 kB / 0.8101 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007779/0.3903, allocations: 113.6 kB / 0.8102 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.3916, allocations: 0.9002 MB / 0.8111 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.3921, allocations: 0.8349 MB / 0.8119 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002587/0.3924, allocations: 83.33 kB / 0.812 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.226e-05/0.3925, allocations: 27.44 kB / 0.812 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.3925, allocations: 0 / 0.812 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of Templates: time 0.009404/0.4019, allocations: 4.458 MB / 0.8164 GB, free: 13.34 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) Environment - environmentSimulation: