Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002489/0.002489, allocations: 185 kB / 7.805 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.2 MB / 213.4 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 93.36 kB / 261.4 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2642/0.2642, allocations: 37.97 MB / 347.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.494e-06/7.545e-06, allocations: 0 / 409.3 MB, free: 47.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09869/0.09872, allocations: 56.32 MB / 465.6 MB, free: 6.848 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3402/0.4389, allocations: 102 MB / 0.5543 GB, free: 8.902 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.009364/0.4484, allocations: 2.159 MB / 0.5564 GB, free: 6.754 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.07101/0.5194, allocations: 16.24 MB / 0.5723 GB, free: 6.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.413e-05/0.5195, allocations: 12 kB / 0.5723 GB, free: 6.309 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002099/0.5216, allocations: 0.801 MB / 0.573 GB, free: 5.457 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.5217, allocations: 12.03 kB / 0.5731 GB, free: 5.445 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.5219, allocations: 63.25 kB / 0.5731 GB, free: 5.383 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/0.5247, allocations: 0.7574 MB / 0.5739 GB, free: 4.586 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.5247, allocations: 16 kB / 0.5739 GB, free: 4.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.5249, allocations: 31.98 kB / 0.5739 GB, free: 4.539 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009516/0.5258, allocations: 285.9 kB / 0.5742 GB, free: 4.262 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.527, allocations: 461.1 kB / 0.5746 GB, free: 3.766 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/0.527, allocations: 11.84 kB / 0.5746 GB, free: 3.754 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.846e-05/0.5271, allocations: 0 / 0.5746 GB, free: 3.754 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.5271, allocations: 12 kB / 0.5746 GB, free: 3.742 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003946/0.5311, allocations: 1.975 MB / 0.5766 GB, free: 1.664 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/0.5315, allocations: 182.9 kB / 0.5767 GB, free: 1.461 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.5317, allocations: 70.92 kB / 0.5768 GB, free: 1.383 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.5318, allocations: 7.953 kB / 0.5768 GB, free: 1.375 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003071/0.5321, allocations: 146.3 kB / 0.577 GB, free: 1.211 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 3.045e-06/0.5321, allocations: 0 / 0.577 GB, free: 1.211 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.00238/0.5345, allocations: 0.8026 MB / 0.5777 GB, free: 360 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.662e-05/0.5347, allocations: 140.5 kB / 0.5779 GB, free: 188 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006715/0.5353, allocations: 329.4 kB / 0.5782 GB, free: 15.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.833e-05/0.5354, allocations: 25.7 kB / 0.5782 GB, free: 15.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.5356, allocations: 294 kB / 0.5785 GB, free: 15.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.5358, allocations: 86.72 kB / 0.5786 GB, free: 15.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.5358, allocations: 0 / 0.5786 GB, free: 15.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.536, allocations: 326.8 kB / 0.5789 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.5362, allocations: 76.86 kB / 0.579 GB, free: 15.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/0.5366, allocations: 212.8 kB / 0.5792 GB, free: 14.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.5369, allocations: 110.5 kB / 0.5793 GB, free: 14.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.537, allocations: 4 kB / 0.5793 GB, free: 14.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001359/0.5383, allocations: 364 kB / 0.5796 GB, free: 14.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.5384, allocations: 8 kB / 0.5796 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.5384, allocations: 4 kB / 0.5796 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007005/0.5391, allocations: 93.12 kB / 0.5797 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/0.5396, allocations: 75.91 kB / 0.5798 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003087/0.5427, allocations: 1.712 MB / 0.5815 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.5432, allocations: 16.06 kB / 0.5815 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.5432, allocations: 12 kB / 0.5815 GB, free: 12.26 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: dcm_par.motor.w_el:VARIABLE(unit = "rad/s" ) "rotor angular velocity el" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.5434, allocations: 49.5 kB / 0.5815 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.5435, allocations: 43.44 kB / 0.5816 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009288/0.5445, allocations: 266.3 kB / 0.5818 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.5445, allocations: 4 kB / 0.5818 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.5445, allocations: 0 / 0.5818 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.5445, allocations: 3.906 kB / 0.5818 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.5464, allocations: 0.6946 MB / 0.5825 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.5465, allocations: 0 / 0.5825 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005567/0.547, allocations: 55.91 kB / 0.5826 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000368/0.5474, allocations: 44.81 kB / 0.5826 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.5475, allocations: 4 kB / 0.5826 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/0.5492, allocations: 1.385 MB / 0.584 GB, free: 9.543 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.5493, allocations: 0 / 0.584 GB, free: 9.543 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00115/0.5504, allocations: 477.7 kB / 0.5844 GB, free: 9.039 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.5507, allocations: 132.6 kB / 0.5846 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-05/0.5508, allocations: 3.984 kB / 0.5846 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/0.5512, allocations: 12 kB / 0.5846 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/0.5513, allocations: 27.73 kB / 0.5846 GB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.5513, allocations: 8 kB / 0.5846 GB, free: 8.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0004415/0.5518, allocations: 251.2 kB / 0.5848 GB, free: 8.598 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007837/0.5526, allocations: 119.8 kB / 0.585 GB, free: 8.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.rotor.phi,dcm_par.rotor.w,dcm_par.motor.i,dcm_par.motor.i_f,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009499/0.5535, allocations: 349.2 kB / 0.5853 GB, free: 8.172 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.5547, allocations: 342 kB / 0.5856 GB, free: 7.828 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.5548, allocations: 0 / 0.5856 GB, free: 7.828 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005714/0.5554, allocations: 205.8 kB / 0.5858 GB, free: 7.617 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.5564, allocations: 102.4 kB / 0.5859 GB, free: 7.516 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.5592, allocations: 0.9216 MB / 0.5868 GB, free: 6.559 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007947/0.56, allocations: 0.9197 MB / 0.5877 GB, free: 5.613 MB / 426.7 MB Notification: Performance of SimCode: time 1.402e-06/0.56, allocations: 4 kB / 0.5877 GB, free: 5.609 MB / 426.7 MB Notification: Performance of Templates: time 0.02613/0.5862, allocations: 8.585 MB / 0.5961 GB, free: 13 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1)