Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") [: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.002396/0.002396, allocations: 187.6 kB / 7.803 MB, free: 2.496 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.83/1.83, 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.001273/0.001272, allocations: 88.27 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.2645/0.2645, allocations: 37.96 MB / 347.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.494e-06, allocations: 0 / 409.3 MB, free: 47.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1013, allocations: 56.32 MB / 465.6 MB, free: 6.844 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.345/0.4464, allocations: 101.3 MB / 0.5536 GB, free: 9.602 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/0.4468, allocations: 79.95 kB / 0.5537 GB, free: 9.523 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.06453/0.5113, allocations: 14.18 MB / 0.5675 GB, free: 11.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.047e-05/0.5114, allocations: 12 kB / 0.5676 GB, free: 11.17 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001603/0.513, allocations: 0.6683 MB / 0.5682 GB, free: 10.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.5131, allocations: 8.031 kB / 0.5682 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009596/0.514, allocations: 95.27 kB / 0.5683 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003482/0.5175, allocations: 0.8571 MB / 0.5691 GB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.5176, allocations: 12 kB / 0.5692 GB, free: 9.445 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.5177, allocations: 28 kB / 0.5692 GB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001144/0.5189, allocations: 397.8 kB / 0.5696 GB, free: 9.031 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.5202, allocations: 0.5916 MB / 0.5701 GB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/0.5203, allocations: 11.84 kB / 0.5702 GB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.697e-05/0.5203, allocations: 0 / 0.5702 GB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000135/0.5205, allocations: 40.77 kB / 0.5702 GB, free: 8.324 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00495/0.5255, allocations: 2.961 MB / 0.5731 GB, free: 5.207 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007466/0.5263, allocations: 261.3 kB / 0.5733 GB, free: 4.934 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003701/0.5267, allocations: 137.7 kB / 0.5735 GB, free: 4.789 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.185e-05/0.5267, allocations: 8 kB / 0.5735 GB, free: 4.781 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.5268, allocations: 38.5 kB / 0.5735 GB, free: 4.734 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 3.928e-06/0.5268, allocations: 0 / 0.5735 GB, free: 4.734 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.002421/0.5292, allocations: 0.8871 MB / 0.5744 GB, free: 3.793 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.5293, allocations: 81.05 kB / 0.5744 GB, free: 3.695 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004614/0.5298, allocations: 267.4 kB / 0.5747 GB, free: 3.426 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.5298, allocations: 25.7 kB / 0.5747 GB, free: 3.395 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.53, allocations: 309.6 kB / 0.575 GB, free: 3.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.5301, allocations: 94.66 kB / 0.5751 GB, free: 2.996 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.5302, allocations: 0 / 0.5751 GB, free: 2.996 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5303, allocations: 334.8 kB / 0.5754 GB, free: 2.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.5307, allocations: 140.9 kB / 0.5756 GB, free: 2.523 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005159/0.5312, allocations: 310.1 kB / 0.5759 GB, free: 2.137 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006084/0.5319, allocations: 216.8 kB / 0.5761 GB, free: 1.926 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.5319, allocations: 3.906 kB / 0.5761 GB, free: 1.922 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001886/0.5338, allocations: 0.5612 MB / 0.5766 GB, free: 1.348 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.5338, allocations: 4.719 kB / 0.5766 GB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001249/0.5351, allocations: 374.5 kB / 0.577 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000677/0.5358, allocations: 105.6 kB / 0.5771 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/0.5365, allocations: 87.83 kB / 0.5772 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004035/0.5405, allocations: 2.848 MB / 0.5799 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004625/0.541, allocations: 20.09 kB / 0.58 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-05/0.5411, allocations: 24 kB / 0.58 GB, free: 13.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (46): * Single equations (assignments): 43 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001541/0.5413, allocations: 41.52 kB / 0.58 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.5414, allocations: 35.53 kB / 0.5801 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.5427, allocations: 369.7 kB / 0.5804 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.103e-05/0.5428, allocations: 12 kB / 0.5804 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5428, allocations: 0 / 0.5804 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.5428, allocations: 7.984 kB / 0.5804 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/0.545, allocations: 0.7937 MB / 0.5812 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/0.545, allocations: 0 / 0.5812 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007821/0.5458, allocations: 67.97 kB / 0.5813 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.411e-05/0.5458, allocations: 4 kB / 0.5813 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.5459, allocations: 3.984 kB / 0.5813 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.5459, allocations: 4 kB / 0.5813 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.5459, allocations: 7.844 kB / 0.5813 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00128/0.5472, allocations: 0.6164 MB / 0.5819 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.5475, allocations: 132.6 kB / 0.582 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.237e-05/0.5476, allocations: 4 kB / 0.582 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003526/0.5479, allocations: 7.984 kB / 0.582 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.548, allocations: 12.2 kB / 0.582 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.548, allocations: 12 kB / 0.5821 GB, free: 11.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003153/0.5484, allocations: 199.1 kB / 0.5822 GB, free: 11.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000731/0.5491, allocations: 104 kB / 0.5823 GB, free: 11.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * Array equations: 1 * 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.0002605/0.5494, allocations: 127.1 kB / 0.5825 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001484/0.5509, allocations: 0.5824 MB / 0.583 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.5509, allocations: 0 / 0.583 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003854/0.5513, allocations: 160 kB / 0.5832 GB, free: 10.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006247/0.5519, allocations: 52.91 kB / 0.5832 GB, free: 10.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.5543, allocations: 0.8405 MB / 0.5841 GB, free: 9.293 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000806/0.5551, allocations: 0.9116 MB / 0.585 GB, free: 8.355 MB / 426.7 MB Notification: Performance of SimCode: time 1.613e-06/0.5551, allocations: 0 / 0.585 GB, free: 8.355 MB / 426.7 MB Notification: Performance of Templates: time 0.01455/0.5697, allocations: 6.706 MB / 0.5915 GB, free: 1.656 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)