Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer") [: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 3.2.2+maint.om/package.mo): time 0.004097/0.004097, allocations: 182.9 kB / 7.456 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.273/1.273, allocations: 194.2 MB / 202.1 MB, free: 8.648 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001697/0.001697, allocations: 124.1 kB / 247.1 MB, free: 6.406 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1733/0.1733, allocations: 39.95 MB / 331.9 MB, free: 4.934 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.384e-06/7.404e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1169, allocations: 54.87 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3494/0.4665, allocations: 81.41 MB / 0.5167 GB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.4667, allocations: 64.02 kB / 0.5167 GB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.009984/0.4767, allocations: 3.558 MB / 0.5202 GB, free: 9.668 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.4768, allocations: 4.5 kB / 0.5202 GB, free: 9.668 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.000761/0.4775, allocations: 0.496 MB / 0.5207 GB, free: 9.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.4776, allocations: 8.906 kB / 0.5207 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.4777, allocations: 29.94 kB / 0.5207 GB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.4781, allocations: 252.9 kB / 0.521 GB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.4782, allocations: 6.094 kB / 0.521 GB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.4782, allocations: 11.88 kB / 0.521 GB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002835/0.4785, allocations: 109.4 kB / 0.5211 GB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/0.4788, allocations: 154.2 kB / 0.5212 GB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.4788, allocations: 3.938 kB / 0.5212 GB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.4789, allocations: 4.969 kB / 0.5212 GB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.4789, allocations: 4.719 kB / 0.5212 GB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.4802, allocations: 0.7676 MB / 0.522 GB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.4803, allocations: 51.17 kB / 0.522 GB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.583e-05/0.4804, allocations: 43.27 kB / 0.5221 GB, free: 8.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.4804, allocations: 1.344 kB / 0.5221 GB, free: 8.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.4804, allocations: 38.5 kB / 0.5221 GB, free: 8.297 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.615e-06/0.4805, allocations: 0 / 0.5221 GB, free: 8.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001482/0.4819, allocations: 0.6032 MB / 0.5227 GB, free: 7.922 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.482, allocations: 54 kB / 0.5228 GB, free: 7.859 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.4822, allocations: 176.6 kB / 0.5229 GB, free: 7.746 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.4822, allocations: 26.8 kB / 0.5229 GB, free: 7.715 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.761e-05/0.4823, allocations: 154.8 kB / 0.5231 GB, free: 7.582 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.4824, allocations: 53.83 kB / 0.5231 GB, free: 7.543 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-06/0.4824, allocations: 0 / 0.5231 GB, free: 7.543 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.563e-05/0.4825, allocations: 329.6 kB / 0.5235 GB, free: 7.223 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.4826, allocations: 45.94 kB / 0.5235 GB, free: 7.223 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.4827, allocations: 93.73 kB / 0.5236 GB, free: 7.164 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.4828, allocations: 61.56 kB / 0.5237 GB, free: 7.152 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4829, allocations: 1.469 kB / 0.5237 GB, free: 7.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004566/0.4833, allocations: 234.8 kB / 0.5239 GB, free: 7.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.4834, allocations: 5.156 kB / 0.5239 GB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.4834, allocations: 10.59 kB / 0.5239 GB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002456/0.4836, allocations: 64.8 kB / 0.524 GB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.4838, allocations: 37.23 kB / 0.524 GB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.4859, allocations: 2.66 MB / 0.5266 GB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.4861, allocations: 7.219 kB / 0.5266 GB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.4861, allocations: 5.969 kB / 0.5266 GB, free: 4.535 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.716e-05/0.4862, allocations: 113.9 kB / 0.5267 GB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.4863, allocations: 21.53 kB / 0.5267 GB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.4864, allocations: 20.48 kB / 0.5267 GB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4864, allocations: 1.281 kB / 0.5267 GB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.4864, allocations: 1.438 kB / 0.5268 GB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4864, allocations: 1.406 kB / 0.5268 GB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.4867, allocations: 248.6 kB / 0.527 GB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4867, allocations: 0 / 0.527 GB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.4868, allocations: 17.95 kB / 0.527 GB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000199/0.487, allocations: 68.91 kB / 0.5271 GB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.487, allocations: 5.172 kB / 0.5271 GB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.4889, allocations: 2.65 MB / 0.5297 GB, free: 17.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4889, allocations: 192 / 0.5297 GB, free: 17.67 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005384/0.4895, allocations: 359.5 kB / 0.53 GB, free: 17.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.162e-05/0.4895, allocations: 89.8 kB / 0.5301 GB, free: 17.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.4896, allocations: 4.906 kB / 0.5301 GB, free: 17.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.4898, allocations: 25.45 kB / 0.5301 GB, free: 17.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.4898, allocations: 7.453 kB / 0.5301 GB, free: 17.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.4899, allocations: 8.219 kB / 0.5301 GB, free: 17.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001236/0.49, allocations: 145.2 kB / 0.5303 GB, free: 17.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003989/0.4904, allocations: 53.72 kB / 0.5303 GB, free: 17.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000172/0.4906, allocations: 94.81 kB / 0.5304 GB, free: 17.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005804/0.4912, allocations: 348.7 kB / 0.5308 GB, free: 16.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4912, allocations: 0 / 0.5308 GB, free: 16.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003969/0.4916, allocations: 287.2 kB / 0.531 GB, free: 16.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.4918, allocations: 18.28 kB / 0.531 GB, free: 16.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009286/0.4928, allocations: 329.2 kB / 0.5314 GB, free: 16.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000455/0.4932, allocations: 0.7693 MB / 0.5321 GB, free: 15.79 MB / 362.7 MB Notification: Performance of SimCode: time 2.605e-06/0.4933, allocations: 5.156 kB / 0.5321 GB, free: 15.79 MB / 362.7 MB Notification: Performance of Templates: time 0.006064/0.4993, allocations: 2.463 MB / 0.5345 GB, free: 14.59 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1)