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.001524/0.001524, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001584/0.001584, allocations: 202 kB / 18.73 MB, free: 4.32 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.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2212/0.2212, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 71.88 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3775, allocations: 62.44 MB / 0.531 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004139/0.3817, allocations: 2.583 MB / 0.5335 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.383, allocations: 0.6709 MB / 0.5341 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.3832, allocations: 4.125 kB / 0.5341 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.3834, allocations: 39.7 kB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.3835, allocations: 83.52 kB / 0.5343 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.3839, allocations: 77.45 kB / 0.5343 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003526/0.3843, allocations: 291.6 kB / 0.5346 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.3845, allocations: 90.86 kB / 0.5347 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.3848, allocations: 117.1 kB / 0.5348 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.385, allocations: 117.8 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.385, allocations: 23.38 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.558e-05/0.3851, allocations: 24.75 kB / 0.535 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.912e-05/0.3852, allocations: 58.69 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.3853, allocations: 124.2 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004255/0.3857, allocations: 292.1 kB / 0.5354 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3857, allocations: 0 / 0.5354 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3858, allocations: 4 kB / 0.5354 GB, free: 10.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.3858, allocations: 0 / 0.5354 GB, free: 10.08 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.0009897/0.3868, allocations: 0.5338 MB / 0.5359 GB, free: 9.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.3868, allocations: 8.938 kB / 0.536 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001987/0.387, allocations: 31.78 kB / 0.536 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.3875, allocations: 266 kB / 0.5362 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.3875, allocations: 17.91 kB / 0.5363 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.913e-05/0.3876, allocations: 17.72 kB / 0.5363 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005031/0.3881, allocations: 194.7 kB / 0.5365 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.3881, allocations: 0 / 0.5365 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.3882, allocations: 10.38 kB / 0.5365 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.3882, allocations: 5.531 kB / 0.5365 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003981/0.3886, allocations: 136.8 kB / 0.5366 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.3902, allocations: 0.8031 MB / 0.5374 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.3904, allocations: 104.5 kB / 0.5375 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.3905, allocations: 43.41 kB / 0.5375 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.3906, allocations: 5.5 kB / 0.5375 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.3906, allocations: 39.94 kB / 0.5376 GB, free: 8.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.3906, allocations: 4 kB / 0.5376 GB, free: 8.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001944/0.3926, allocations: 0.7168 MB / 0.5383 GB, free: 7.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.3926, allocations: 53.75 kB / 0.5383 GB, free: 7.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.3929, allocations: 219.7 kB / 0.5385 GB, free: 7.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.3929, allocations: 26.77 kB / 0.5386 GB, free: 7.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.3931, allocations: 168.9 kB / 0.5387 GB, free: 7.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.3931, allocations: 49.77 kB / 0.5388 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.674e-05/0.3932, allocations: 51.92 kB / 0.5388 GB, free: 7.219 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3934, allocations: 334.9 kB / 0.5391 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.3936, allocations: 56.19 kB / 0.5392 GB, free: 6.863 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.3938, allocations: 107.6 kB / 0.5393 GB, free: 6.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003784/0.3941, allocations: 174 kB / 0.5395 GB, free: 6.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3942, allocations: 1.375 kB / 0.5395 GB, free: 6.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005916/0.3948, allocations: 283.5 kB / 0.5397 GB, free: 6.496 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3948, allocations: 5.594 kB / 0.5397 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3948, allocations: 1.219 kB / 0.5397 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002864/0.3951, allocations: 79.95 kB / 0.5398 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.3953, allocations: 28.58 kB / 0.5398 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/0.3978, allocations: 3.019 MB / 0.5428 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.398, allocations: 8.281 kB / 0.5428 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.398, allocations: 10.22 kB / 0.5428 GB, free: 3.391 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.3982, allocations: 139.8 kB / 0.5429 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.3982, allocations: 17.75 kB / 0.543 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.99e-05/0.3983, allocations: 31.2 kB / 0.543 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3983, allocations: 1.062 kB / 0.543 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.3983, allocations: 2.469 kB / 0.543 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3983, allocations: 0 / 0.543 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.3987, allocations: 287.9 kB / 0.5433 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.3987, allocations: 0 / 0.5433 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.48e-05/0.3988, allocations: 15.98 kB / 0.5433 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002091/0.399, allocations: 66.17 kB / 0.5433 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.3991, allocations: 9.531 kB / 0.5434 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/0.4014, allocations: 3.022 MB / 0.5463 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.4015, allocations: 0 / 0.5463 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007071/0.4022, allocations: 395.4 kB / 0.5467 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.4023, allocations: 93.58 kB / 0.5468 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.4023, allocations: 9.297 kB / 0.5468 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.4025, allocations: 18.86 kB / 0.5468 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/0.4026, allocations: 14.61 kB / 0.5468 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.4026, allocations: 4.25 kB / 0.5468 GB, free: 15.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001631/0.4027, allocations: 151.9 kB / 0.547 GB, free: 15.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4027, allocations: 0 / 0.547 GB, free: 15.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004476/0.4032, allocations: 60.78 kB / 0.547 GB, free: 15.32 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.0001493/0.4034, allocations: 105.2 kB / 0.5471 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007798/0.4041, allocations: 401.8 kB / 0.5475 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4042, allocations: 5.344 kB / 0.5475 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004642/0.4046, allocations: 322.1 kB / 0.5478 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.405, allocations: 37.33 kB / 0.5479 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.4061, allocations: 0.5083 MB / 0.5484 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.4065, allocations: 0.7462 MB / 0.5491 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.806e-05/0.4066, allocations: 22.62 kB / 0.5491 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.4066, allocations: 15.78 kB / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4067, allocations: 0 / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of Templates: time 0.006397/0.4131, allocations: 2.73 MB / 0.5518 GB, free: 11.28 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)