Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") [: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.002274/0.002273, allocations: 181.7 kB / 7.801 MB, free: 1.191 MB / 6.77 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.2 MB / 213.4 MB, free: 8.617 MB / 178.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001762/0.001761, allocations: 89.47 kB / 261.4 MB, free: 5.117 MB / 210.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2652/0.2652, allocations: 37.97 MB / 347.3 MB, free: 0.9531 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 1.175e-05/1.185e-05, allocations: 8 kB / 409.3 MB, free: 74.85 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09822/0.09826, allocations: 56.33 MB / 465.6 MB, free: 18.5 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3478/0.4461, allocations: 98.73 MB / 0.5511 GB, free: 13.46 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.4465, allocations: 93.16 kB / 0.5512 GB, free: 13.41 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.04842/0.4949, allocations: 10.99 MB / 0.562 GB, free: 4.312 MB / 370.8 MB Notification: Performance of Transformations before backend: time 3.862e-05/0.495, allocations: 11.94 kB / 0.562 GB, free: 4.301 MB / 370.8 MB 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.001466/0.4965, allocations: 0.6297 MB / 0.5626 GB, free: 3.645 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.4965, allocations: 8.031 kB / 0.5626 GB, free: 3.637 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.4967, allocations: 51.38 kB / 0.5627 GB, free: 3.59 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/0.4986, allocations: 0.5518 MB / 0.5632 GB, free: 3.094 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.4987, allocations: 42.48 kB / 0.5632 GB, free: 3.047 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-05/0.4988, allocations: 31.83 kB / 0.5633 GB, free: 3.02 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007194/0.4996, allocations: 223 kB / 0.5635 GB, free: 2.883 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008475/0.5004, allocations: 372.2 kB / 0.5638 GB, free: 2.559 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.5005, allocations: 7.938 kB / 0.5638 GB, free: 2.551 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-05/0.5005, allocations: 0 / 0.5638 GB, free: 2.551 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.5006, allocations: 12 kB / 0.5639 GB, free: 2.539 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003317/0.5039, allocations: 1.78 MB / 0.5656 GB, free: 0.8867 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.5042, allocations: 128.4 kB / 0.5657 GB, free: 0.7656 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.5044, allocations: 71.33 kB / 0.5658 GB, free: 0.707 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.5044, allocations: 4 kB / 0.5658 GB, free: 0.7031 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.5045, allocations: 46.31 kB / 0.5658 GB, free: 0.6523 MB / 370.8 MB Notification: Performance of pre-optimization done (n=18): time 3.116e-06/0.5045, allocations: 0 / 0.5658 GB, free: 0.6523 MB / 370.8 MB Notification: Performance of matching and sorting (n=19): time 0.001473/0.506, allocations: 0.6067 MB / 0.5664 GB, free: 56 kB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.5061, allocations: 110.9 kB / 0.5665 GB, free: 15.92 MB / 386.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.5065, allocations: 233.9 kB / 0.5668 GB, free: 15.73 MB / 386.8 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.5065, allocations: 25.7 kB / 0.5668 GB, free: 15.7 MB / 386.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.5067, allocations: 272.2 kB / 0.567 GB, free: 15.45 MB / 386.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.555e-05/0.5068, allocations: 69.31 kB / 0.5671 GB, free: 15.39 MB / 386.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/0.5069, allocations: 0 / 0.5671 GB, free: 15.39 MB / 386.8 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.507, allocations: 321.8 kB / 0.5674 GB, free: 15.07 MB / 386.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.5072, allocations: 61.34 kB / 0.5675 GB, free: 15.03 MB / 386.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.5075, allocations: 194.4 kB / 0.5677 GB, free: 14.81 MB / 386.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.5078, allocations: 94.66 kB / 0.5677 GB, free: 14.75 MB / 386.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.5078, allocations: 0 / 0.5677 GB, free: 14.75 MB / 386.8 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006714/0.5085, allocations: 269.4 kB / 0.568 GB, free: 14.53 MB / 386.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.5085, allocations: 4 kB / 0.568 GB, free: 14.52 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.5085, allocations: 4 kB / 0.568 GB, free: 14.52 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.5086, allocations: 8 kB / 0.568 GB, free: 14.51 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006299/0.5092, allocations: 74.78 kB / 0.5681 GB, free: 14.44 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.5092, allocations: 11.92 kB / 0.5681 GB, free: 14.43 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.5095, allocations: 12.09 kB / 0.5681 GB, free: 14.42 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.5096, allocations: 19.94 kB / 0.5681 GB, free: 14.4 MB / 386.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.564e-05/0.5097, allocations: 37.58 kB / 0.5682 GB, free: 14.36 MB / 386.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.5098, allocations: 27.62 kB / 0.5682 GB, free: 14.33 MB / 386.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005081/0.5103, allocations: 180.4 kB / 0.5684 GB, free: 14.19 MB / 386.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.5103, allocations: 4 kB / 0.5684 GB, free: 14.19 MB / 386.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5104, allocations: 0 / 0.5684 GB, free: 14.19 MB / 386.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.5104, allocations: 0 / 0.5684 GB, free: 14.19 MB / 386.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.5116, allocations: 0.5422 MB / 0.5689 GB, free: 13.7 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.5116, allocations: 7.906 kB / 0.5689 GB, free: 13.69 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005276/0.5122, allocations: 43.72 kB / 0.5689 GB, free: 13.65 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.5122, allocations: 7.938 kB / 0.569 GB, free: 13.64 MB / 386.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.5122, allocations: 0 / 0.569 GB, free: 13.64 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.5122, allocations: 7.938 kB / 0.569 GB, free: 13.64 MB / 386.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5122, allocations: 0 / 0.569 GB, free: 13.64 MB / 386.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007183/0.513, allocations: 463.1 kB / 0.5694 GB, free: 13.21 MB / 386.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.5131, allocations: 104.7 kB / 0.5695 GB, free: 13.09 MB / 386.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.595e-05/0.5132, allocations: 4 kB / 0.5695 GB, free: 13.08 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.5135, allocations: 4 kB / 0.5695 GB, free: 13.08 MB / 386.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.431e-05/0.5136, allocations: 15.42 kB / 0.5695 GB, free: 13.07 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.5136, allocations: 7.984 kB / 0.5695 GB, free: 13.06 MB / 386.8 MB Notification: Performance of sort global known variables: time 0.0002641/0.5139, allocations: 176.8 kB / 0.5697 GB, free: 12.92 MB / 386.8 MB Notification: Performance of remove unused functions: time 0.0005991/0.5145, allocations: 75.84 kB / 0.5698 GB, free: 12.84 MB / 386.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002274/0.5148, allocations: 119.2 kB / 0.5699 GB, free: 12.72 MB / 386.8 MB Notification: Performance of simCode: created initialization part: time 0.0004941/0.5153, allocations: 170.3 kB / 0.57 GB, free: 12.6 MB / 386.8 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5153, allocations: 4.25 kB / 0.5701 GB, free: 12.59 MB / 386.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.5155, allocations: 80.09 kB / 0.5701 GB, free: 12.54 MB / 386.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007741/0.5163, allocations: 68.09 kB / 0.5702 GB, free: 12.48 MB / 386.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.5185, allocations: 0.6877 MB / 0.5709 GB, free: 11.81 MB / 386.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007251/0.5192, allocations: 0.8465 MB / 0.5717 GB, free: 10.95 MB / 386.8 MB Notification: Performance of SimCode: time 1.202e-06/0.5193, allocations: 0 / 0.5717 GB, free: 10.95 MB / 386.8 MB Notification: Performance of Templates: time 0.0107/0.53, allocations: 4.337 MB / 0.5759 GB, free: 6.684 MB / 386.8 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1)