Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.ThreePhase.IEEE4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE4") translateModel(OpenIPSL.Tests.ThreePhase.IEEE4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE4") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002521/0.002521, allocations: 183.3 kB / 7.457 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 221.4 MB / 229.3 MB, free: 3.066 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 93.62 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4278/0.4278, allocations: 78.05 MB / 408.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.861e-06/5.911e-06, allocations: 0 / 484.3 MB, free: 4.426 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2593, allocations: 69.34 MB / 0.5407 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.3718, allocations: 100.2 MB / 0.6386 GB, free: 4.645 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.372, allocations: 71.91 kB / 0.6386 GB, free: 4.574 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.366/0.7381, allocations: 51.59 MB / 0.689 GB, free: 97.22 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.022e-05/0.7382, allocations: 38.75 kB / 0.689 GB, free: 97.22 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.007156/0.7453, allocations: 3.478 MB / 0.6924 GB, free: 95.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.7454, allocations: 10.16 kB / 0.6924 GB, free: 95.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008041/0.7462, allocations: 292.2 kB / 0.6927 GB, free: 95.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002673/0.7489, allocations: 2.131 MB / 0.6948 GB, free: 95.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.566e-05/0.7489, allocations: 27.19 kB / 0.6948 GB, free: 95.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003917/0.7493, allocations: 43.97 kB / 0.6949 GB, free: 95.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007134/0.7564, allocations: 4.867 MB / 0.6996 GB, free: 95.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0042/0.7607, allocations: 2.509 MB / 0.7021 GB, free: 95.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.7607, allocations: 0.6562 kB / 0.7021 GB, free: 95.17 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001881/0.7609, allocations: 3.469 kB / 0.7021 GB, free: 95.17 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001879/0.7611, allocations: 162.2 kB / 0.7022 GB, free: 95.17 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02017/0.7813, allocations: 12.47 MB / 0.7144 GB, free: 89.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/0.7835, allocations: 1.673 MB / 0.7161 GB, free: 88.31 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/0.785, allocations: 1.432 MB / 0.7175 GB, free: 87.01 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.7852, allocations: 15.14 kB / 0.7175 GB, free: 87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.7852, allocations: 47.22 kB / 0.7175 GB, free: 86.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=84): time 2.956e-06/0.7852, allocations: 0 / 0.7175 GB, free: 86.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=84): time 0.01047/0.7957, allocations: 5.187 MB / 0.7226 GB, free: 82.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.7957, allocations: 63.77 kB / 0.7226 GB, free: 82.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004968/0.8007, allocations: 3.481 MB / 0.726 GB, free: 79.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003755/0.8011, allocations: 25.7 kB / 0.7261 GB, free: 79.67 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/0.8015, allocations: 0.673 MB / 0.7267 GB, free: 79.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005204/0.802, allocations: 290.5 kB / 0.727 GB, free: 78.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.8021, allocations: 0 / 0.727 GB, free: 78.83 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.841e-05/0.8022, allocations: 337.4 kB / 0.7273 GB, free: 78.51 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.8036, allocations: 1.311 MB / 0.7286 GB, free: 77.33 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.8051, allocations: 1.49 MB / 0.7301 GB, free: 75.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.8067, allocations: 1.376 MB / 0.7314 GB, free: 74.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.8067, allocations: 4 kB / 0.7314 GB, free: 74.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01723/0.8239, allocations: 6.823 MB / 0.7381 GB, free: 68.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.824, allocations: 4 kB / 0.7381 GB, free: 68.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.824, allocations: 11.23 kB / 0.7381 GB, free: 68.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02028/0.8443, allocations: 5.228 MB / 0.7432 GB, free: 63.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002264/0.8466, allocations: 251.5 kB / 0.7434 GB, free: 63.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/0.8578, allocations: 6.438 MB / 0.7497 GB, free: 56.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.8598, allocations: 123 kB / 0.7498 GB, free: 56.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/0.86, allocations: 43.98 kB / 0.7499 GB, free: 56.47 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Load.Va:VARIABLE(protected = true ) type: Real Load.in_coef[1,1]:VARIABLE(protected = true ) type: Real [1,3] Load.Vb:VARIABLE(protected = true ) type: Real Load.Vc:VARIABLE(protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {26 26} Notification: Performance of prepare postOptimizeDAE: time 0.000345/0.8604, allocations: 125.5 kB / 0.75 GB, free: 56.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004623/0.8609, allocations: 248.8 kB / 0.7502 GB, free: 56.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007966/0.8688, allocations: 4.88 MB / 0.755 GB, free: 51.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.8689, allocations: 15.94 kB / 0.755 GB, free: 51.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.8689, allocations: 0 / 0.755 GB, free: 51.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.8689, allocations: 3.984 kB / 0.755 GB, free: 51.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003323/0.8722, allocations: 2.764 MB / 0.7577 GB, free: 48.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.8723, allocations: 0 / 0.7577 GB, free: 48.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001926/0.8742, allocations: 179.7 kB / 0.7579 GB, free: 48.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01925/0.8934, allocations: 5.174 MB / 0.7629 GB, free: 43.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002716/0.8938, allocations: 0 / 0.7629 GB, free: 43.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01065/0.9044, allocations: 6.438 MB / 0.7692 GB, free: 36.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.9044, allocations: 0 / 0.7692 GB, free: 36.57 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007548/0.912, allocations: 4.65 MB / 0.7738 GB, free: 31.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.9131, allocations: 0.6302 MB / 0.7744 GB, free: 31.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005128/0.9136, allocations: 4 kB / 0.7744 GB, free: 31.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/0.915, allocations: 59.94 kB / 0.7744 GB, free: 31.19 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/0.9153, allocations: 40.59 kB / 0.7745 GB, free: 31.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/0.9154, allocations: 20 kB / 0.7745 GB, free: 31.13 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.003134/0.9185, allocations: 2.72 MB / 0.7772 GB, free: 28.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002787/0.9213, allocations: 1.213 MB / 0.7783 GB, free: 27.19 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 30 * 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 {26 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.002642/0.924, allocations: 0.6018 MB / 0.7789 GB, free: 26.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007566/0.9316, allocations: 4.06 MB / 0.7829 GB, free: 22.53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9316, allocations: 0 / 0.7829 GB, free: 22.53 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005824/0.9374, allocations: 2.581 MB / 0.7854 GB, free: 19.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/0.9393, allocations: 157.5 kB / 0.7856 GB, free: 19.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008597/0.948, allocations: 4.327 MB / 0.7898 GB, free: 15.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001882/0.9499, allocations: 1.946 MB / 0.7917 GB, free: 13.43 MB / 490.7 MB Notification: Performance of SimCode: time 1.433e-06/0.9499, allocations: 0 / 0.7917 GB, free: 13.43 MB / 490.7 MB Notification: Performance of Templates: time 0.07952/1.029, allocations: 56.21 MB / 0.8466 GB, free: 5.637 MB / 0.5261 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE4.makefile (rm -f OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE4.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE4.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE4.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE4.sim & ./OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.ThreePhase.IEEE4.pipe 2>&1)