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.00157/0.00157, allocations: 118.3 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001779/0.001779, allocations: 201.2 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.251/0.251, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 75.88 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4933/0.4947, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004338/0.4991, allocations: 2.576 MB / 0.5335 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.5007, allocations: 0.6725 MB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.5008, allocations: 4.125 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.501, allocations: 47.64 kB / 0.5342 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.5011, allocations: 71.59 kB / 0.5343 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.5015, allocations: 72.09 kB / 0.5343 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.5018, allocations: 291.6 kB / 0.5346 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.502, allocations: 90.77 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.5023, allocations: 124.4 kB / 0.5348 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.5025, allocations: 117.7 kB / 0.5349 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.836e-05/0.5025, allocations: 23.41 kB / 0.5349 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.974e-05/0.5026, allocations: 25.44 kB / 0.535 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.5027, allocations: 54 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.5028, allocations: 124.4 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004471/0.5033, allocations: 286 kB / 0.5354 GB, free: 10.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.5033, allocations: 5.141 kB / 0.5354 GB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5033, allocations: 0 / 0.5354 GB, free: 10.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.5033, allocations: 0 / 0.5354 GB, free: 10.12 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.000869/0.5042, allocations: 0.5449 MB / 0.5359 GB, free: 9.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.5042, allocations: 9.5 kB / 0.536 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.5044, allocations: 36.56 kB / 0.536 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.5048, allocations: 258.1 kB / 0.5362 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.5048, allocations: 12.91 kB / 0.5362 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/0.5049, allocations: 22.12 kB / 0.5363 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.5052, allocations: 194.2 kB / 0.5365 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.5053, allocations: 4 kB / 0.5365 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.5053, allocations: 6.125 kB / 0.5365 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.5053, allocations: 5.844 kB / 0.5365 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.5056, allocations: 140.4 kB / 0.5366 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.5069, allocations: 0.8078 MB / 0.5374 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.5072, allocations: 100.5 kB / 0.5375 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.5073, allocations: 55.36 kB / 0.5375 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.5073, allocations: 5.25 kB / 0.5375 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.5074, allocations: 35.75 kB / 0.5376 GB, free: 8.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.5074, allocations: 1.219 kB / 0.5376 GB, free: 8.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001892/0.5093, allocations: 0.7202 MB / 0.5383 GB, free: 7.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.5094, allocations: 53.72 kB / 0.5383 GB, free: 7.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.5096, allocations: 207.4 kB / 0.5385 GB, free: 7.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.5096, allocations: 34.73 kB / 0.5386 GB, free: 7.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.5098, allocations: 177.3 kB / 0.5387 GB, free: 7.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.5098, allocations: 54.88 kB / 0.5388 GB, free: 7.277 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.843e-05/0.5099, allocations: 43.69 kB / 0.5388 GB, free: 7.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.51, allocations: 330.9 kB / 0.5391 GB, free: 6.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.5102, allocations: 59.62 kB / 0.5392 GB, free: 6.887 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.5104, allocations: 116.6 kB / 0.5393 GB, free: 6.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.5107, allocations: 173.5 kB / 0.5395 GB, free: 6.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5107, allocations: 1.438 kB / 0.5395 GB, free: 6.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005246/0.5112, allocations: 282.9 kB / 0.5397 GB, free: 6.512 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.5112, allocations: 5.656 kB / 0.5398 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.5113, allocations: 5.156 kB / 0.5398 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002732/0.5115, allocations: 67.77 kB / 0.5398 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.5117, allocations: 27.7 kB / 0.5399 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0026/0.5143, allocations: 3.025 MB / 0.5428 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.5145, allocations: 7.906 kB / 0.5428 GB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.5145, allocations: 6.875 kB / 0.5428 GB, free: 3.414 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.000154/0.5147, allocations: 153.7 kB / 0.543 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.5147, allocations: 17.03 kB / 0.543 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.269e-05/0.5148, allocations: 22.28 kB / 0.543 GB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5148, allocations: 1.281 kB / 0.543 GB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5148, allocations: 2.875 kB / 0.543 GB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5148, allocations: 3.984 kB / 0.543 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.5151, allocations: 283.4 kB / 0.5433 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5151, allocations: 1.375 kB / 0.5433 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.785e-05/0.5152, allocations: 15.64 kB / 0.5433 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002019/0.5154, allocations: 77.5 kB / 0.5434 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.5155, allocations: 5 kB / 0.5434 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002337/0.5178, allocations: 3.015 MB / 0.5463 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5178, allocations: 0 / 0.5463 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/0.5185, allocations: 400.4 kB / 0.5467 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.061e-05/0.5186, allocations: 97.45 kB / 0.5468 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.5186, allocations: 5.156 kB / 0.5468 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.5188, allocations: 18.17 kB / 0.5468 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.5188, allocations: 10.7 kB / 0.5468 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.5189, allocations: 16.39 kB / 0.5468 GB, free: 15.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.519, allocations: 148.2 kB / 0.547 GB, free: 15.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.519, allocations: 0 / 0.547 GB, free: 15.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004034/0.5194, allocations: 64.44 kB / 0.547 GB, free: 15.33 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.0001399/0.5196, allocations: 101.4 kB / 0.5471 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006989/0.5203, allocations: 417.4 kB / 0.5475 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5203, allocations: 0 / 0.5475 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.5207, allocations: 322.7 kB / 0.5478 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.5211, allocations: 35.06 kB / 0.5479 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.5222, allocations: 0.5113 MB / 0.5484 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.5227, allocations: 0.7469 MB / 0.5491 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.5228, allocations: 17.91 kB / 0.5491 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.5229, allocations: 16.16 kB / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5229, allocations: 4 kB / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of Templates: time 0.00812/0.531, allocations: 2.73 MB / 0.5518 GB, free: 11.27 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)