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.001217/0.001217, allocations: 102.2 kB / 16.27 MB, free: 6.418 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.001649/0.00165, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.45/1.45, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.788/1.788, allocations: 292.3 MB / 0.5495 GB, free: 17.58 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.001633/0.001633, allocations: 71.88 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2746, allocations: 114.5 MB / 0.784 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006605/0.2813, allocations: 3.747 MB / 0.7877 GB, free: 116 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4174/0.6988, allocations: 1.822 MB / 0.7895 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000211/0.699, allocations: 17.12 kB / 0.7895 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007837/0.6999, allocations: 275.4 kB / 0.7898 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005177/0.7004, allocations: 292.1 kB / 0.79 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004818/0.7009, allocations: 252.4 kB / 0.7903 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004846/0.7014, allocations: 0.6045 MB / 0.7909 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003775/0.7018, allocations: 255 kB / 0.7911 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.7021, allocations: 229.6 kB / 0.7913 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.7023, allocations: 234 kB / 0.7915 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.959e-05/0.7024, allocations: 27.16 kB / 0.7916 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003909/0.7028, allocations: 277.8 kB / 0.7918 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.7029, allocations: 113.7 kB / 0.7919 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.7031, allocations: 215.3 kB / 0.7922 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004974/0.7036, allocations: 0.5852 MB / 0.7927 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.7036, allocations: 0.5312 kB / 0.7927 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7036, allocations: 1.281 kB / 0.7927 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.7036, allocations: 0 / 0.7927 GB, free: 45.95 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.001014/0.7046, allocations: 0.7355 MB / 0.7934 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.7047, allocations: 10.28 kB / 0.7935 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008557/0.7055, allocations: 135.2 kB / 0.7936 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.7059, allocations: 381.1 kB / 0.7939 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.706, allocations: 21.95 kB / 0.794 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.706, allocations: 30.8 kB / 0.794 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006753/0.7067, allocations: 0.5496 MB / 0.7945 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.7067, allocations: 5.188 kB / 0.7945 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.7068, allocations: 19.08 kB / 0.7946 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.408e-05/0.7068, allocations: 43.66 kB / 0.7946 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005796/0.7074, allocations: 405.9 kB / 0.795 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.7095, allocations: 3.342 MB / 0.7982 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000595/0.7101, allocations: 336.9 kB / 0.7986 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.7103, allocations: 175.1 kB / 0.7987 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.7104, allocations: 3.312 kB / 0.7987 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.7104, allocations: 40.75 kB / 0.7988 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=26): time 1.783e-06/0.7104, allocations: 3.406 kB / 0.7988 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=27): time 0.001896/0.7123, allocations: 1.056 MB / 0.7998 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.7123, allocations: 54.33 kB / 0.7999 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.7127, allocations: 344 kB / 0.8002 GB, free: 41.6 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.7127, allocations: 31.48 kB / 0.8002 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.7128, allocations: 239.3 kB / 0.8005 GB, free: 41.42 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.378e-05/0.7129, allocations: 101.9 kB / 0.8005 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.52e-05/0.713, allocations: 78.44 kB / 0.8006 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.713, allocations: 345.9 kB / 0.801 GB, free: 41.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.7133, allocations: 153.9 kB / 0.8011 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.7136, allocations: 284.4 kB / 0.8014 GB, free: 40.74 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006344/0.7143, allocations: 488.4 kB / 0.8018 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.7143, allocations: 2 kB / 0.8018 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009513/0.7152, allocations: 0.5653 MB / 0.8024 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.7153, allocations: 6.188 kB / 0.8024 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.7153, allocations: 7.219 kB / 0.8024 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003113/0.7156, allocations: 88.02 kB / 0.8025 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.716, allocations: 91.3 kB / 0.8026 GB, free: 40.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.716, allocations: 9.281 kB / 0.8026 GB, free: 40.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.7163, allocations: 30.62 kB / 0.8026 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.7163, allocations: 19.81 kB / 0.8026 GB, free: 40.16 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.0001599/0.7165, allocations: 172.8 kB / 0.8028 GB, free: 40.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.356e-05/0.7165, allocations: 41.98 kB / 0.8028 GB, free: 40 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008034/0.7173, allocations: 466.4 kB / 0.8033 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.7173, allocations: 4.125 kB / 0.8033 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.7174, allocations: 0 / 0.8033 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.7174, allocations: 8.766 kB / 0.8033 GB, free: 39.79 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.7188, allocations: 0.9594 MB / 0.8042 GB, free: 39.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.7188, allocations: 2.062 kB / 0.8042 GB, free: 39.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.719, allocations: 50.12 kB / 0.8043 GB, free: 39.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002335/0.7193, allocations: 88.34 kB / 0.8044 GB, free: 39.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.7193, allocations: 9.016 kB / 0.8044 GB, free: 39.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.7193, allocations: 3 kB / 0.8044 GB, free: 39.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.7193, allocations: 0 / 0.8044 GB, free: 39.19 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008328/0.7202, allocations: 0.5451 MB / 0.8049 GB, free: 38.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.7203, allocations: 140.2 kB / 0.805 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/0.7204, allocations: 2.141 kB / 0.805 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.7206, allocations: 22.12 kB / 0.8051 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.7207, allocations: 30.44 kB / 0.8051 GB, free: 38.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.7207, allocations: 6.125 kB / 0.8051 GB, free: 38.74 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000242/0.721, allocations: 238.6 kB / 0.8053 GB, free: 38.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.5e-07/0.721, allocations: 3.969 kB / 0.8053 GB, free: 38.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004633/0.7214, allocations: 84.84 kB / 0.8054 GB, free: 38.6 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.0001259/0.7216, allocations: 105.7 kB / 0.8055 GB, free: 38.51 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009792/0.7226, allocations: 0.6577 MB / 0.8062 GB, free: 38.08 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7226, allocations: 1.75 kB / 0.8062 GB, free: 38.08 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004451/0.723, allocations: 445.7 kB / 0.8066 GB, free: 37.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007385/0.7238, allocations: 129.5 kB / 0.8067 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.7249, allocations: 0.7617 MB / 0.8075 GB, free: 37.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.7252, allocations: 0.8259 MB / 0.8083 GB, free: 36.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.7253, allocations: 37.06 kB / 0.8083 GB, free: 36.51 MB / 0.6544 GB Notification: Performance of SimCode: time 3.4e-07/0.7253, allocations: 0 / 0.8083 GB, free: 36.51 MB / 0.6544 GB Notification: Performance of Templates: time 0.01601/0.7413, allocations: 9.437 MB / 0.8175 GB, free: 35.95 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)