Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 198.1 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.697/2.697, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 68.42 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2781, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00568/0.2838, allocations: 4.856 MB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003319/0.2872, allocations: 2.459 MB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.2874, allocations: 23.81 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009912/0.2884, allocations: 405.8 kB / 1.076 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000715/0.2891, allocations: 441.7 kB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006411/0.2898, allocations: 374.7 kB / 1.077 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000737/0.2905, allocations: 0.9134 MB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004315/0.291, allocations: 362.5 kB / 1.078 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.2913, allocations: 326.8 kB / 1.078 GB, free: 256 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003652/0.2917, allocations: 346.5 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.837e-05/0.2917, allocations: 43.98 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005303/0.2923, allocations: 411.1 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.2924, allocations: 175.5 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002531/0.2927, allocations: 314.3 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007497/0.2934, allocations: 0.8762 MB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2935, allocations: 0 / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2935, allocations: 0 / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.2935, allocations: 0 / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001137/0.2946, allocations: 0.9386 MB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.2946, allocations: 8.031 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.2958, allocations: 195.9 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005525/0.2964, allocations: 494.3 kB / 1.082 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.2964, allocations: 41.36 kB / 1.082 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.556e-05/0.2965, allocations: 48.27 kB / 1.082 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009235/0.2974, allocations: 0.8485 MB / 1.083 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.2975, allocations: 7.938 kB / 1.083 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.2975, allocations: 20 kB / 1.083 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-05/0.2976, allocations: 64.95 kB / 1.083 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007476/0.2983, allocations: 0.5656 MB / 1.083 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004097/0.3025, allocations: 5.658 MB / 1.089 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005781/0.303, allocations: 451.4 kB / 1.089 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003012/0.3034, allocations: 232.7 kB / 1.089 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.3034, allocations: 7.984 kB / 1.089 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.3034, allocations: 38.5 kB / 1.09 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.3034, allocations: 0 / 1.09 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002256/0.3057, allocations: 1.508 MB / 1.091 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.3057, allocations: 63.61 kB / 1.091 GB, free: 2.188 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004251/0.3062, allocations: 495 kB / 1.092 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.3062, allocations: 29.7 kB / 1.092 GB, free: 1.656 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.3064, allocations: 362.8 kB / 1.092 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.963e-05/0.3065, allocations: 126.3 kB / 1.092 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.3066, allocations: 106.2 kB / 1.092 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3067, allocations: 362.8 kB / 1.092 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.307, allocations: 197.2 kB / 1.093 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.3074, allocations: 457.1 kB / 1.093 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007056/0.3081, allocations: 0.6835 MB / 1.094 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3081, allocations: 4 kB / 1.094 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001137/0.3093, allocations: 0.8136 MB / 1.095 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3093, allocations: 8 kB / 1.095 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.3093, allocations: 12 kB / 1.095 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004525/0.3098, allocations: 144.3 kB / 1.095 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/0.3102, allocations: 131.7 kB / 1.095 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002898/0.3131, allocations: 4.344 MB / 1.099 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.3134, allocations: 31.97 kB / 1.099 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.3135, allocations: 28 kB / 1.099 GB, free: 9.176 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002059/0.3137, allocations: 222.5 kB / 1.099 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/0.3138, allocations: 59.25 kB / 1.099 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009133/0.3147, allocations: 0.593 MB / 1.1 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3147, allocations: 7.984 kB / 1.1 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.3147, allocations: 4 kB / 1.1 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3147, allocations: 3.984 kB / 1.1 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.3163, allocations: 1.262 MB / 1.101 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3163, allocations: 0 / 1.101 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.3166, allocations: 55.89 kB / 1.101 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000363/0.317, allocations: 148.3 kB / 1.101 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.317, allocations: 11.94 kB / 1.101 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002867/0.3199, allocations: 4.328 MB / 1.106 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.3199, allocations: 4.031 kB / 1.106 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008872/0.3208, allocations: 0.7044 MB / 1.106 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.321, allocations: 172.3 kB / 1.107 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.281e-05/0.321, allocations: 8 kB / 1.107 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.3213, allocations: 23.97 kB / 1.107 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.3214, allocations: 31.84 kB / 1.107 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.3214, allocations: 12 kB / 1.107 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000296/0.3217, allocations: 338.8 kB / 1.107 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3217, allocations: 0 / 1.107 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005527/0.3222, allocations: 140 kB / 1.107 GB, free: 448 kB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001208/0.3224, allocations: 111.1 kB / 1.107 GB, free: 324 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001321/0.3237, allocations: 1.084 MB / 1.108 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3237, allocations: 0 / 1.108 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007788/0.3245, allocations: 0.7352 MB / 1.109 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009529/0.3255, allocations: 192.5 kB / 1.109 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.3268, allocations: 1.043 MB / 1.11 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.3273, allocations: 0.9097 MB / 1.111 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003042/0.3276, allocations: 121.3 kB / 1.111 GB, free: 12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.837e-05/0.3277, allocations: 39.44 kB / 1.111 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of SimCode: time 2.064e-06/0.3277, allocations: 0 / 1.111 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of Templates: time 0.01222/0.34, allocations: 7.6 MB / 1.119 GB, free: 4.453 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)