Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") [: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.002406/0.002405, allocations: 188.2 kB / 7.804 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.664/1.664, 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.001249/0.001249, allocations: 95.84 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.2589/0.2589, allocations: 37.97 MB / 347.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.678e-06/9.708e-06, allocations: 0 / 409.3 MB, free: 47.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 56.32 MB / 465.6 MB, free: 6.852 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3523/0.469, allocations: 94.51 MB / 0.547 GB, free: 360 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/0.4694, allocations: 87.95 kB / 0.5471 GB, free: 272 kB / 378.7 MB Notification: Performance of FrontEnd: time 0.03275/0.5022, allocations: 7.019 MB / 0.554 GB, free: 9.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.512e-05/0.5022, allocations: 8 kB / 0.554 GB, free: 9.172 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001241/0.5035, allocations: 0.5747 MB / 0.5545 GB, free: 8.555 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.5036, allocations: 8.031 kB / 0.5545 GB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.5037, allocations: 39.53 kB / 0.5546 GB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003344/0.507, allocations: 0.8046 MB / 0.5554 GB, free: 7.664 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.5071, allocations: 8 kB / 0.5554 GB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.019e-05/0.5072, allocations: 19.94 kB / 0.5554 GB, free: 7.637 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006722/0.5079, allocations: 221.1 kB / 0.5556 GB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006977/0.5086, allocations: 312.5 kB / 0.5559 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.5086, allocations: 0 / 0.5559 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/0.5087, allocations: 0 / 0.5559 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.5087, allocations: 8 kB / 0.5559 GB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002575/0.5113, allocations: 1.311 MB / 0.5572 GB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.5117, allocations: 141.1 kB / 0.5573 GB, free: 5.535 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.512, allocations: 97.75 kB / 0.5574 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.512, allocations: 4 kB / 0.5574 GB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.5121, allocations: 38.8 kB / 0.5574 GB, free: 5.383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.655e-06/0.5121, allocations: 0 / 0.5574 GB, free: 5.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.001502/0.5136, allocations: 0.5734 MB / 0.558 GB, free: 4.754 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.314e-05/0.5137, allocations: 85.05 kB / 0.5581 GB, free: 4.652 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004132/0.5141, allocations: 255.4 kB / 0.5583 GB, free: 4.395 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.5142, allocations: 25.7 kB / 0.5584 GB, free: 4.363 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.5144, allocations: 234 kB / 0.5586 GB, free: 4.133 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.28e-05/0.5144, allocations: 47.36 kB / 0.5586 GB, free: 4.086 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/0.5145, allocations: 4.031 kB / 0.5586 GB, free: 4.082 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.5146, allocations: 326.7 kB / 0.5589 GB, free: 3.754 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.5148, allocations: 63.97 kB / 0.559 GB, free: 3.691 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.5151, allocations: 149.9 kB / 0.5591 GB, free: 3.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.5153, allocations: 93.23 kB / 0.5592 GB, free: 3.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.5153, allocations: 4 kB / 0.5592 GB, free: 3.406 MB / 394.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007707/0.5161, allocations: 250.4 kB / 0.5595 GB, free: 3.152 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.5162, allocations: 14.91 kB / 0.5595 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.5162, allocations: 0 / 0.5595 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002632/0.5165, allocations: 48.83 kB / 0.5595 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.5169, allocations: 59.91 kB / 0.5596 GB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.5169, allocations: 7.938 kB / 0.5596 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.5173, allocations: 4 kB / 0.5596 GB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-05/0.5173, allocations: 15.89 kB / 0.5596 GB, free: 3.004 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (28): * Single equations (assignments): 27 * 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.0001496/0.5175, allocations: 45.53 kB / 0.5597 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.5177, allocations: 23.72 kB / 0.5597 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007371/0.5184, allocations: 209.1 kB / 0.5599 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.5184, allocations: 11.92 kB / 0.5599 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.5184, allocations: 0 / 0.5599 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5185, allocations: 0 / 0.5599 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.5198, allocations: 0.5755 MB / 0.5605 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5199, allocations: 4 kB / 0.5605 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.5201, allocations: 16 kB / 0.5605 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003568/0.5205, allocations: 56.73 kB / 0.5605 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.5206, allocations: 7.938 kB / 0.5605 GB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.5227, allocations: 1.396 MB / 0.5619 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5227, allocations: 0 / 0.5619 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008782/0.5236, allocations: 405.1 kB / 0.5623 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.5238, allocations: 100.9 kB / 0.5624 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.24e-05/0.5239, allocations: 8 kB / 0.5624 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.5241, allocations: 0 / 0.5624 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.5242, allocations: 12.05 kB / 0.5624 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.5242, allocations: 11.89 kB / 0.5624 GB, free: 15.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003189/0.5245, allocations: 191.1 kB / 0.5626 GB, free: 15.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000527/0.5251, allocations: 64 kB / 0.5627 GB, free: 15.65 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001985/0.5253, allocations: 103.2 kB / 0.5628 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006954/0.526, allocations: 255.8 kB / 0.563 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.526, allocations: 0 / 0.563 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000563/0.5266, allocations: 193.6 kB / 0.5632 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006684/0.5273, allocations: 53.12 kB / 0.5632 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.5289, allocations: 0.5495 MB / 0.5638 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007107/0.5296, allocations: 0.8488 MB / 0.5646 GB, free: 13.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5296, allocations: 0 / 0.5646 GB, free: 13.55 MB / 410.7 MB Notification: Performance of Templates: time 0.01112/0.5408, allocations: 4.775 MB / 0.5693 GB, free: 8.781 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1)