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.001112/0.001112, allocations: 103.7 kB / 16.36 MB, free: 6.305 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.001032/0.001032, allocations: 188 kB / 17.29 MB, free: 5.875 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.342/1.342, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.773/1.773, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001397/0.001397, allocations: 67.03 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.2005, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.3332/0.5337, allocations: 3.749 MB / 0.7885 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002378/0.5362, allocations: 1.833 MB / 0.7902 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.5364, allocations: 18.28 kB / 0.7903 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008065/0.5373, allocations: 268.1 kB / 0.7905 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0006331/0.5379, allocations: 288.3 kB / 0.7908 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005099/0.5384, allocations: 253.8 kB / 0.791 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004936/0.5389, allocations: 0.6009 MB / 0.7916 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003824/0.5393, allocations: 258.3 kB / 0.7919 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000294/0.5396, allocations: 233 kB / 0.7921 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.5399, allocations: 232.9 kB / 0.7923 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.54, allocations: 25.28 kB / 0.7923 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004309/0.5404, allocations: 279.1 kB / 0.7926 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.5405, allocations: 120.6 kB / 0.7927 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.5407, allocations: 213.6 kB / 0.7929 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005638/0.5413, allocations: 0.5932 MB / 0.7935 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5413, allocations: 0 / 0.7935 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5413, allocations: 0.5312 kB / 0.7935 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.5413, allocations: 0 / 0.7935 GB, free: 46.09 MB / 0.6544 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.0009789/0.5423, allocations: 0.7261 MB / 0.7942 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.5423, allocations: 8.75 kB / 0.7942 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00084/0.5432, allocations: 141.7 kB / 0.7944 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.5436, allocations: 408.2 kB / 0.7947 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.5436, allocations: 18.81 kB / 0.7948 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.466e-05/0.5437, allocations: 33.23 kB / 0.7948 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000633/0.5443, allocations: 0.5552 MB / 0.7953 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.5444, allocations: 5.375 kB / 0.7953 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.5444, allocations: 14.64 kB / 0.7954 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.348e-05/0.5445, allocations: 46.08 kB / 0.7954 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005913/0.5451, allocations: 405.5 kB / 0.7958 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.5471, allocations: 3.33 MB / 0.799 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005943/0.5477, allocations: 344.5 kB / 0.7994 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.548, allocations: 177.8 kB / 0.7995 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.5481, allocations: 3.375 kB / 0.7995 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.5481, allocations: 34.41 kB / 0.7996 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.5481, allocations: 0 / 0.7996 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=27): time 0.001901/0.55, allocations: 1.061 MB / 0.8006 GB, free: 41.85 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.5501, allocations: 56.62 kB / 0.8007 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.5503, allocations: 352.9 kB / 0.801 GB, free: 41.6 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.5504, allocations: 32.39 kB / 0.801 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.5505, allocations: 237.3 kB / 0.8013 GB, free: 41.37 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/0.5505, allocations: 99.7 kB / 0.8013 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.543e-05/0.5506, allocations: 73.61 kB / 0.8014 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.262e-05/0.5507, allocations: 347 kB / 0.8017 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.551, allocations: 151 kB / 0.8019 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.5513, allocations: 293.2 kB / 0.8022 GB, free: 40.65 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005783/0.5519, allocations: 480.6 kB / 0.8026 GB, free: 40.35 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5519, allocations: 2.156 kB / 0.8026 GB, free: 40.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009237/0.5528, allocations: 0.57 MB / 0.8032 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.5529, allocations: 7.797 kB / 0.8032 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5529, allocations: 5.094 kB / 0.8032 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000293/0.5532, allocations: 84.95 kB / 0.8033 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.5535, allocations: 88.22 kB / 0.8034 GB, free: 40.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.5536, allocations: 12.11 kB / 0.8034 GB, free: 40.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.5539, allocations: 33.8 kB / 0.8034 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.5539, allocations: 18.44 kB / 0.8034 GB, free: 40.06 MB / 0.6544 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.0001886/0.5541, allocations: 170.3 kB / 0.8036 GB, free: 39.92 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/0.5542, allocations: 39.38 kB / 0.8036 GB, free: 39.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008795/0.555, allocations: 474.2 kB / 0.8041 GB, free: 39.69 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5551, allocations: 0.5625 kB / 0.8041 GB, free: 39.69 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.5551, allocations: 2.375 kB / 0.8041 GB, free: 39.69 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.5551, allocations: 1.359 kB / 0.8041 GB, free: 39.69 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.5566, allocations: 0.9686 MB / 0.805 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.289e-06/0.5566, allocations: 4.719 kB / 0.805 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.5568, allocations: 51.05 kB / 0.8051 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002422/0.5571, allocations: 83 kB / 0.8052 GB, free: 39.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.5571, allocations: 7.594 kB / 0.8052 GB, free: 39.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.5571, allocations: 1.562 kB / 0.8052 GB, free: 39.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.5571, allocations: 5.984 kB / 0.8052 GB, free: 39.06 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008211/0.558, allocations: 0.5426 MB / 0.8057 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.5581, allocations: 136.1 kB / 0.8058 GB, free: 38.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.5582, allocations: 7.094 kB / 0.8058 GB, free: 38.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.5584, allocations: 21.23 kB / 0.8059 GB, free: 38.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.423e-05/0.5585, allocations: 34.06 kB / 0.8059 GB, free: 38.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.5585, allocations: 9.156 kB / 0.8059 GB, free: 38.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002454/0.5588, allocations: 238.5 kB / 0.8061 GB, free: 38.47 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5588, allocations: 0 / 0.8061 GB, free: 38.47 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004682/0.5593, allocations: 84.91 kB / 0.8062 GB, free: 38.46 MB / 0.6544 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.0001137/0.5594, allocations: 107.5 kB / 0.8063 GB, free: 38.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008657/0.5602, allocations: 0.6355 MB / 0.8069 GB, free: 37.94 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5603, allocations: 0 / 0.8069 GB, free: 37.94 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004091/0.5607, allocations: 437.4 kB / 0.8074 GB, free: 37.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007068/0.5614, allocations: 122.5 kB / 0.8075 GB, free: 37.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.5625, allocations: 0.7563 MB / 0.8082 GB, free: 37.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.5628, allocations: 0.8228 MB / 0.809 GB, free: 36.39 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.883e-05/0.5629, allocations: 31.56 kB / 0.809 GB, free: 36.39 MB / 0.6544 GB Notification: Performance of SimCode: time 9.51e-07/0.5629, allocations: 0 / 0.809 GB, free: 36.39 MB / 0.6544 GB Notification: Performance of Templates: time 0.01516/0.5781, allocations: 9.442 MB / 0.8183 GB, free: 35.82 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (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)