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.001629/0.001629, allocations: 102.6 kB / 16.35 MB, free: 6.348 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.001829/0.001829, allocations: 194.7 kB / 17.29 MB, free: 5.93 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.392/1.392, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.862/1.862, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001384/0.001384, allocations: 76.31 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2407, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.4046/0.6454, allocations: 3.738 MB / 0.7884 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002415/0.6478, allocations: 1.837 MB / 0.7902 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.648, allocations: 18.47 kB / 0.7902 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008075/0.6488, allocations: 262.8 kB / 0.7905 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005597/0.6494, allocations: 294 kB / 0.7908 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004863/0.6499, allocations: 248.5 kB / 0.791 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004863/0.6504, allocations: 0.6045 MB / 0.7916 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003762/0.6508, allocations: 256.8 kB / 0.7919 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.6511, allocations: 234.5 kB / 0.7921 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.6513, allocations: 230 kB / 0.7923 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.5e-05/0.6514, allocations: 29.86 kB / 0.7923 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004689/0.6518, allocations: 270 kB / 0.7926 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.652, allocations: 130.2 kB / 0.7927 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.6522, allocations: 202.5 kB / 0.7929 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000612/0.6528, allocations: 0.5984 MB / 0.7935 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6528, allocations: 0.9688 kB / 0.7935 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.305e-06/0.6528, allocations: 1.406 kB / 0.7935 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.6529, allocations: 7.406 kB / 0.7935 GB, free: 46.23 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.001025/0.6539, allocations: 0.7219 MB / 0.7942 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.6539, allocations: 7.938 kB / 0.7942 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008578/0.6548, allocations: 139.6 kB / 0.7943 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004202/0.6552, allocations: 377.7 kB / 0.7947 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.6553, allocations: 18.34 kB / 0.7947 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.262e-05/0.6553, allocations: 31 kB / 0.7947 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006545/0.656, allocations: 0.559 MB / 0.7953 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.656, allocations: 3 kB / 0.7953 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.656, allocations: 13.72 kB / 0.7953 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.198e-05/0.6561, allocations: 43.53 kB / 0.7953 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005893/0.6567, allocations: 413 kB / 0.7957 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.6587, allocations: 3.323 MB / 0.799 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006046/0.6593, allocations: 338.5 kB / 0.7993 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002769/0.6596, allocations: 182.5 kB / 0.7995 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.6597, allocations: 12.81 kB / 0.7995 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.6597, allocations: 30.56 kB / 0.7995 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.6597, allocations: 0 / 0.7995 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=27): time 0.001726/0.6614, allocations: 1.066 MB / 0.8006 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.6615, allocations: 54.77 kB / 0.8006 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.6617, allocations: 347.6 kB / 0.801 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.6618, allocations: 25.7 kB / 0.801 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.6619, allocations: 245.4 kB / 0.8012 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.596e-05/0.6619, allocations: 103 kB / 0.8013 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.6621, allocations: 73.5 kB / 0.8014 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.042e-05/0.6621, allocations: 349.3 kB / 0.8017 GB, free: 41.06 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.6624, allocations: 144.5 kB / 0.8018 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/0.6627, allocations: 299.3 kB / 0.8021 GB, free: 40.79 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005709/0.6633, allocations: 479.2 kB / 0.8026 GB, free: 40.49 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.6633, allocations: 3.25 kB / 0.8026 GB, free: 40.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009654/0.6643, allocations: 0.5704 MB / 0.8032 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.6643, allocations: 7.656 kB / 0.8032 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.6643, allocations: 4.844 kB / 0.8032 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002976/0.6646, allocations: 86.58 kB / 0.8032 GB, free: 40.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.665, allocations: 87.95 kB / 0.8033 GB, free: 40.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.665, allocations: 12.38 kB / 0.8033 GB, free: 40.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.6653, allocations: 31.83 kB / 0.8034 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.6653, allocations: 23.66 kB / 0.8034 GB, free: 40.21 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.0001563/0.6655, allocations: 168.5 kB / 0.8036 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.404e-05/0.6655, allocations: 39.39 kB / 0.8036 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008705/0.6664, allocations: 468.8 kB / 0.804 GB, free: 39.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.6664, allocations: 3.812 kB / 0.804 GB, free: 39.84 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.6664, allocations: 1.719 kB / 0.804 GB, free: 39.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.6664, allocations: 1.312 kB / 0.804 GB, free: 39.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.6679, allocations: 0.9653 MB / 0.805 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.6679, allocations: 0 / 0.805 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.6682, allocations: 51.75 kB / 0.805 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002363/0.6684, allocations: 82.67 kB / 0.8051 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.6685, allocations: 1.609 kB / 0.8051 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.6685, allocations: 2.219 kB / 0.8051 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.6685, allocations: 9.891 kB / 0.8051 GB, free: 39.22 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008398/0.6693, allocations: 0.5442 MB / 0.8057 GB, free: 38.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.6695, allocations: 137.2 kB / 0.8058 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.6695, allocations: 10.77 kB / 0.8058 GB, free: 38.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.6698, allocations: 21.7 kB / 0.8058 GB, free: 38.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.772e-05/0.6699, allocations: 26.05 kB / 0.8058 GB, free: 38.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.6699, allocations: 8.5 kB / 0.8059 GB, free: 38.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002765/0.6702, allocations: 234.8 kB / 0.8061 GB, free: 38.64 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6702, allocations: 3.938 kB / 0.8061 GB, free: 38.64 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004545/0.6706, allocations: 89.39 kB / 0.8062 GB, free: 38.62 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.0001232/0.6708, allocations: 111.2 kB / 0.8063 GB, free: 38.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009395/0.6717, allocations: 0.6333 MB / 0.8069 GB, free: 38.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6717, allocations: 0 / 0.8069 GB, free: 38.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004184/0.6721, allocations: 436.6 kB / 0.8073 GB, free: 37.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007206/0.6729, allocations: 124.5 kB / 0.8074 GB, free: 37.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.674, allocations: 0.716 MB / 0.8081 GB, free: 37.29 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.6744, allocations: 0.8226 MB / 0.8089 GB, free: 36.59 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002568/0.6746, allocations: 80.58 kB / 0.809 GB, free: 36.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.686e-05/0.6747, allocations: 28.98 kB / 0.809 GB, free: 36.57 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.6747, allocations: 0.9062 kB / 0.809 GB, free: 36.57 MB / 0.6544 GB Notification: Performance of Templates: time 0.01135/0.6861, allocations: 4.682 MB / 0.8136 GB, free: 36.33 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)