Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001303, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2403/0.2403, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 75.88 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4697/0.4713, allocations: 62.43 MB / 0.531 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.00384/0.4752, allocations: 2.588 MB / 0.5335 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.4765, allocations: 0.6634 MB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.4767, allocations: 8.062 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.4769, allocations: 39.77 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.4771, allocations: 71.58 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.4774, allocations: 81.45 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003993/0.4778, allocations: 294.2 kB / 0.5346 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.4781, allocations: 86.88 kB / 0.5347 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.4784, allocations: 121 kB / 0.5348 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.4786, allocations: 113.9 kB / 0.5349 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.426e-05/0.4786, allocations: 23.16 kB / 0.5349 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.4788, allocations: 33.02 kB / 0.535 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.509e-05/0.4788, allocations: 50.45 kB / 0.535 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.479, allocations: 124.3 kB / 0.5351 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004609/0.4794, allocations: 291.2 kB / 0.5354 GB, free: 10.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.4795, allocations: 0 / 0.5354 GB, free: 10.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4795, allocations: 3.938 kB / 0.5354 GB, free: 10.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.4795, allocations: 4 kB / 0.5354 GB, free: 10.32 MB / 398.1 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.0009944/0.4805, allocations: 0.5455 MB / 0.536 GB, free: 9.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.4805, allocations: 8.875 kB / 0.536 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.4807, allocations: 36.56 kB / 0.536 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.4811, allocations: 257.6 kB / 0.5362 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.4811, allocations: 17.47 kB / 0.5363 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.4812, allocations: 17.81 kB / 0.5363 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.4816, allocations: 194.4 kB / 0.5365 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4816, allocations: 1.062 kB / 0.5365 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.4816, allocations: 10.22 kB / 0.5365 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.4817, allocations: 4.438 kB / 0.5365 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.482, allocations: 141.3 kB / 0.5366 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.4832, allocations: 0.8074 MB / 0.5374 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.4834, allocations: 100.7 kB / 0.5375 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.535e-05/0.4835, allocations: 48.09 kB / 0.5375 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.4836, allocations: 3.938 kB / 0.5375 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.4836, allocations: 32.12 kB / 0.5376 GB, free: 8.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.4836, allocations: 0 / 0.5376 GB, free: 8.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001769/0.4854, allocations: 0.725 MB / 0.5383 GB, free: 7.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.4854, allocations: 57.92 kB / 0.5383 GB, free: 7.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.4857, allocations: 206.7 kB / 0.5385 GB, free: 7.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.4857, allocations: 26.83 kB / 0.5386 GB, free: 7.703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.4858, allocations: 174 kB / 0.5387 GB, free: 7.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.4859, allocations: 57.92 kB / 0.5388 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.415e-05/0.4859, allocations: 44.14 kB / 0.5388 GB, free: 7.453 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4861, allocations: 338.5 kB / 0.5391 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.4862, allocations: 56.91 kB / 0.5392 GB, free: 7.094 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.4864, allocations: 107.5 kB / 0.5393 GB, free: 7.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.4867, allocations: 175.3 kB / 0.5395 GB, free: 6.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4867, allocations: 0 / 0.5395 GB, free: 6.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005332/0.4873, allocations: 292.1 kB / 0.5398 GB, free: 6.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4873, allocations: 4.656 kB / 0.5398 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4873, allocations: 1.75 kB / 0.5398 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000258/0.4876, allocations: 71.33 kB / 0.5398 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.4878, allocations: 40.45 kB / 0.5399 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/0.4904, allocations: 3.02 MB / 0.5428 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.4905, allocations: 12.47 kB / 0.5428 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.4906, allocations: 9.781 kB / 0.5428 GB, free: 3.605 MB / 398.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001619/0.4907, allocations: 136.4 kB / 0.543 GB, free: 3.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.4908, allocations: 18.88 kB / 0.543 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.4908, allocations: 25.39 kB / 0.543 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4909, allocations: 5.938 kB / 0.543 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.4909, allocations: 2.156 kB / 0.543 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.4909, allocations: 0 / 0.543 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.4913, allocations: 291.8 kB / 0.5433 GB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4913, allocations: 0 / 0.5433 GB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.182e-05/0.4914, allocations: 16.55 kB / 0.5433 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002045/0.4917, allocations: 68.95 kB / 0.5434 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.4917, allocations: 1.25 kB / 0.5434 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003119/0.4948, allocations: 3.02 MB / 0.5463 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.4948, allocations: 11.94 kB / 0.5463 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008201/0.4957, allocations: 388.9 kB / 0.5467 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.472e-05/0.4958, allocations: 101.5 kB / 0.5468 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.4958, allocations: 1.469 kB / 0.5468 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.496, allocations: 22.23 kB / 0.5468 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.4961, allocations: 15.23 kB / 0.5468 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.4961, allocations: 2.906 kB / 0.5468 GB, free: 15.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.4963, allocations: 156.5 kB / 0.547 GB, free: 15.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4963, allocations: 0 / 0.547 GB, free: 15.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004579/0.4968, allocations: 64.44 kB / 0.5471 GB, free: 15.53 MB / 414.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001827/0.497, allocations: 105.2 kB / 0.5472 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008237/0.4978, allocations: 408.3 kB / 0.5475 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4978, allocations: 0 / 0.5475 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004677/0.4983, allocations: 330.1 kB / 0.5479 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.4987, allocations: 31.88 kB / 0.5479 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.4998, allocations: 0.5114 MB / 0.5484 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.5002, allocations: 0.7467 MB / 0.5491 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.155e-05/0.5003, allocations: 23.22 kB / 0.5491 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/0.5004, allocations: 14.91 kB / 0.5492 GB, free: 13.7 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5004, allocations: 0 / 0.5492 GB, free: 13.7 MB / 414.1 MB Notification: Performance of Templates: time 0.007106/0.5075, allocations: 2.729 MB / 0.5518 GB, free: 11.41 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1)