Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableLoad.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009767/0.0009768, allocations: 180.7 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.2 MB / 239.7 MB, free: 1.781 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 97.03 kB / 290.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04682/0.04682, allocations: 8.107 MB / 350.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003141, allocations: 12.28 kB / 413.1 MB, free: 89.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1129, allocations: 52.54 MB / 465.6 MB, free: 42.08 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3634/0.4764, allocations: 83.9 MB / 0.5366 GB, free: 16.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.4766, allocations: 68.86 kB / 0.5367 GB, free: 16.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03196/0.5086, allocations: 13.65 MB / 0.55 GB, free: 31.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5087, allocations: 0 / 0.55 GB, free: 31.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.264e-05/0.5087, allocations: 15.81 kB / 0.5501 GB, free: 31.35 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.002327/0.511, allocations: 0.8869 MB / 0.5509 GB, free: 30.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.5111, allocations: 7.5 kB / 0.5509 GB, free: 30.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.5112, allocations: 46.34 kB / 0.551 GB, free: 30.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.5116, allocations: 341 kB / 0.5513 GB, free: 30.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.779e-05/0.5117, allocations: 45.11 kB / 0.5513 GB, free: 30.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.5117, allocations: 30.66 kB / 0.5514 GB, free: 30.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005915/0.5123, allocations: 440.6 kB / 0.5518 GB, free: 30.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.5123, allocations: 0 / 0.5518 GB, free: 30.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-05/0.5124, allocations: 14.98 kB / 0.5518 GB, free: 30.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.5124, allocations: 3.844 kB / 0.5518 GB, free: 30.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004825/0.5129, allocations: 390 kB / 0.5522 GB, free: 30.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/0.5154, allocations: 1.867 MB / 0.554 GB, free: 29.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.5164, allocations: 496.3 kB / 0.5545 GB, free: 29.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.5166, allocations: 99.19 kB / 0.5546 GB, free: 29.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006055/0.5172, allocations: 315.3 kB / 0.5549 GB, free: 29.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.264e-06/0.5172, allocations: 0 / 0.5549 GB, free: 29.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.005353/0.5226, allocations: 1.578 MB / 0.5564 GB, free: 29.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.5226, allocations: 108 kB / 0.5565 GB, free: 29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.523, allocations: 260.6 kB / 0.5568 GB, free: 28.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/0.5231, allocations: 34.83 kB / 0.5568 GB, free: 28.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.5232, allocations: 167.8 kB / 0.557 GB, free: 28.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.5233, allocations: 142.8 kB / 0.5571 GB, free: 28.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.5233, allocations: 7.688 kB / 0.5571 GB, free: 28.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5234, allocations: 343.2 kB / 0.5574 GB, free: 28.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.5238, allocations: 218.3 kB / 0.5576 GB, free: 28.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.5241, allocations: 261.5 kB / 0.5579 GB, free: 28.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.5245, allocations: 234.1 kB / 0.5581 GB, free: 28.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.5245, allocations: 0 / 0.5581 GB, free: 28.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002551/0.527, allocations: 0.9616 MB / 0.559 GB, free: 28.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.5271, allocations: 8.781 kB / 0.5591 GB, free: 28.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.5271, allocations: 0 / 0.5591 GB, free: 28.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002771/0.5299, allocations: 0.592 MB / 0.5596 GB, free: 28.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.5301, allocations: 51.16 kB / 0.5597 GB, free: 28.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/0.5318, allocations: 1.095 MB / 0.5607 GB, free: 27.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00037/0.5322, allocations: 33.36 kB / 0.5608 GB, free: 27.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.5322, allocations: 19.72 kB / 0.5608 GB, free: 27.63 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.varLoad.degradedMode,varLoad.degradedMode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {7 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002371/0.5325, allocations: 152.8 kB / 0.5609 GB, free: 27.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.891e-05/0.5325, allocations: 41.95 kB / 0.561 GB, free: 27.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/0.5349, allocations: 0.9862 MB / 0.5619 GB, free: 27.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.5349, allocations: 4.938 kB / 0.562 GB, free: 27.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5349, allocations: 3.938 kB / 0.562 GB, free: 27.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.5349, allocations: 8.234 kB / 0.562 GB, free: 27.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006267/0.5356, allocations: 0.6209 MB / 0.5626 GB, free: 27.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.5356, allocations: 0 / 0.5626 GB, free: 27.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.5358, allocations: 57.36 kB / 0.5626 GB, free: 27.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002438/0.5382, allocations: 0.5715 MB / 0.5632 GB, free: 27.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/0.5383, allocations: 6.219 kB / 0.5632 GB, free: 27.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.5396, allocations: 1.054 MB / 0.5642 GB, free: 26.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5396, allocations: 3.953 kB / 0.5642 GB, free: 26.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.5418, allocations: 0.9289 MB / 0.5651 GB, free: 26.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.5419, allocations: 124.7 kB / 0.5652 GB, free: 26.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.471e-05/0.542, allocations: 8.688 kB / 0.5653 GB, free: 26.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.5423, allocations: 33.06 kB / 0.5653 GB, free: 26.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.93e-05/0.5424, allocations: 31.34 kB / 0.5653 GB, free: 26.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-05/0.5425, allocations: 18.52 kB / 0.5653 GB, free: 26.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002397/0.5427, allocations: 214.6 kB / 0.5655 GB, free: 26.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5427, allocations: 0 / 0.5655 GB, free: 26.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000471/0.5432, allocations: 127.7 kB / 0.5657 GB, free: 26.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009232/0.5441, allocations: 421.5 kB / 0.5661 GB, free: 26.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001879/0.546, allocations: 0.6742 MB / 0.5667 GB, free: 26.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.546, allocations: 8.5 kB / 0.5667 GB, free: 26.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.5471, allocations: 385 kB / 0.5671 GB, free: 26.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.5474, allocations: 40.28 kB / 0.5671 GB, free: 26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.5488, allocations: 0.8582 MB / 0.568 GB, free: 25.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.5491, allocations: 0.7977 MB / 0.5688 GB, free: 24.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002173/0.5493, allocations: 52.05 kB / 0.5688 GB, free: 24.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.395e-05/0.5495, allocations: 39.5 kB / 0.5688 GB, free: 24.86 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5495, allocations: 0 / 0.5688 GB, free: 24.86 MB / 378.7 MB Notification: Performance of Templates: time 0.01123/0.5607, allocations: 7.245 MB / 0.5759 GB, free: 22.16 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableLoad.sim & ./PowerSysPro_PowerSysPro.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1)