Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [: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.002399/0.002404, allocations: 183.8 kB / 7.803 MB, free: 2.488 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.806/1.806, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.001267/0.001266, allocations: 93.14 kB / 261.4 MB, free: 13.63 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.2745/0.2745, allocations: 37.98 MB / 347.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.307e-06/9.448e-06, allocations: 4 kB / 409.3 MB, free: 47.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09974/0.09978, allocations: 56.32 MB / 465.6 MB, free: 6.848 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3434/0.4432, allocations: 93.16 MB / 0.5457 GB, free: 1.715 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.4435, allocations: 91.94 kB / 0.5458 GB, free: 1.625 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.03582/0.4794, allocations: 6.097 MB / 0.5517 GB, free: 11.47 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.719e-05/0.4795, allocations: 8 kB / 0.5518 GB, free: 11.46 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002091/0.4816, allocations: 0.523 MB / 0.5523 GB, free: 10.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.298e-05/0.4816, allocations: 12.03 kB / 0.5523 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.4818, allocations: 31.53 kB / 0.5523 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00405/0.4859, allocations: 0.6615 MB / 0.5529 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.486, allocations: 8 kB / 0.553 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004695/0.4864, allocations: 27.98 kB / 0.553 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001222/0.4877, allocations: 164.8 kB / 0.5531 GB, free: 9.953 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008457/0.4886, allocations: 261 kB / 0.5534 GB, free: 9.664 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.4886, allocations: 0 / 0.5534 GB, free: 9.664 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.298e-05/0.4887, allocations: 0 / 0.5534 GB, free: 9.664 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.529e-05/0.4887, allocations: 8 kB / 0.5534 GB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003593/0.4924, allocations: 1.232 MB / 0.5546 GB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.4934, allocations: 119.8 kB / 0.5547 GB, free: 8.195 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.4936, allocations: 42.64 kB / 0.5548 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.4937, allocations: 0 / 0.5548 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.04e-05/0.4938, allocations: 42.44 kB / 0.5548 GB, free: 8.094 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 3.336e-06/0.4938, allocations: 0 / 0.5548 GB, free: 8.094 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.001736/0.4955, allocations: 488.2 kB / 0.5553 GB, free: 7.562 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.4957, allocations: 106.8 kB / 0.5554 GB, free: 7.434 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007204/0.4965, allocations: 201 kB / 0.5556 GB, free: 7.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.4965, allocations: 29.7 kB / 0.5556 GB, free: 7.195 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.4967, allocations: 226.1 kB / 0.5558 GB, free: 6.973 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.143e-05/0.4968, allocations: 43.39 kB / 0.5558 GB, free: 6.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.841e-05/0.4969, allocations: 4.812 kB / 0.5558 GB, free: 6.926 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.4971, allocations: 318.8 kB / 0.5561 GB, free: 6.605 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.4973, allocations: 32 kB / 0.5562 GB, free: 6.574 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.4975, allocations: 124.4 kB / 0.5563 GB, free: 6.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.4978, allocations: 55.91 kB / 0.5564 GB, free: 6.355 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.4978, allocations: 0 / 0.5564 GB, free: 6.355 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001367/0.4992, allocations: 199.1 kB / 0.5565 GB, free: 6.152 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.4992, allocations: 4.406 kB / 0.5565 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.4993, allocations: 8.094 kB / 0.5566 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002498/0.4995, allocations: 28.78 kB / 0.5566 GB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009399/0.5005, allocations: 67.88 kB / 0.5566 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.5005, allocations: 8.062 kB / 0.5567 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/0.501, allocations: 4 kB / 0.5567 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.248e-05/0.5011, allocations: 12 kB / 0.5567 GB, free: 6.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001918/0.5013, allocations: 41.62 kB / 0.5567 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005014/0.5018, allocations: 19.72 kB / 0.5567 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007024/0.5025, allocations: 135.3 kB / 0.5569 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.5026, allocations: 4 kB / 0.5569 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.5026, allocations: 0 / 0.5569 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.5026, allocations: 3.984 kB / 0.5569 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008634/0.5035, allocations: 246 kB / 0.5571 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.5035, allocations: 4 kB / 0.5571 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/0.5039, allocations: 31.92 kB / 0.5571 GB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.5039, allocations: 8 kB / 0.5571 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.5039, allocations: 7.984 kB / 0.5571 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.504, allocations: 4 kB / 0.5572 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.504, allocations: 0 / 0.5572 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005818/0.5046, allocations: 391.2 kB / 0.5575 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.5047, allocations: 100.8 kB / 0.5576 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.5047, allocations: 3.984 kB / 0.5576 GB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.505, allocations: 0 / 0.5576 GB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.5051, allocations: 15.89 kB / 0.5576 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.5051, allocations: 4 kB / 0.5576 GB, free: 4.922 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002084/0.5053, allocations: 157.2 kB / 0.5578 GB, free: 4.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004686/0.5058, allocations: 44 kB / 0.5578 GB, free: 4.727 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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.0001626/0.506, allocations: 103.4 kB / 0.5579 GB, free: 4.617 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004553/0.5064, allocations: 205.6 kB / 0.5581 GB, free: 4.395 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5064, allocations: 0 / 0.5581 GB, free: 4.395 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.5066, allocations: 51.92 kB / 0.5582 GB, free: 4.344 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/0.5072, allocations: 53.28 kB / 0.5582 GB, free: 4.293 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.5084, allocations: 445.6 kB / 0.5587 GB, free: 3.816 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005991/0.5091, allocations: 0.8019 MB / 0.5594 GB, free: 2.992 MB / 394.7 MB Notification: Performance of SimCode: time 7.11e-07/0.5091, allocations: 0 / 0.5594 GB, free: 2.992 MB / 394.7 MB Notification: Performance of Templates: time 0.008071/0.5172, allocations: 3.463 MB / 0.5628 GB, free: 15.53 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1)