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.001626/0.001626, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002019/0.002019, allocations: 210 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.6 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.2046/0.2046, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 71.89 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.303, allocations: 62.44 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003556/0.3066, allocations: 2.586 MB / 0.5342 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.3078, allocations: 0.6692 MB / 0.5348 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.3079, allocations: 7.312 kB / 0.5348 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.308, allocations: 40.67 kB / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.3082, allocations: 66.97 kB / 0.5349 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.3085, allocations: 81.5 kB / 0.535 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003225/0.3088, allocations: 293.8 kB / 0.5353 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.309, allocations: 86.88 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.3093, allocations: 126.4 kB / 0.5355 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.3094, allocations: 117.8 kB / 0.5356 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.37e-05/0.3095, allocations: 22 kB / 0.5356 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.283e-05/0.3096, allocations: 26.12 kB / 0.5356 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.181e-05/0.3096, allocations: 49.34 kB / 0.5357 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.3097, allocations: 124.6 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.3101, allocations: 291.7 kB / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3101, allocations: 0 / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.3101, allocations: 0 / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3101, allocations: 9.094 kB / 0.5361 GB, free: 10.13 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.0008103/0.311, allocations: 0.5333 MB / 0.5366 GB, free: 9.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.311, allocations: 9.562 kB / 0.5366 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.3112, allocations: 35.52 kB / 0.5367 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.3115, allocations: 254.1 kB / 0.5369 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.3116, allocations: 16.69 kB / 0.5369 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.3116, allocations: 25.5 kB / 0.5369 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.312, allocations: 191.7 kB / 0.5371 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.312, allocations: 0 / 0.5371 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.312, allocations: 10.31 kB / 0.5371 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.3121, allocations: 4.656 kB / 0.5371 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.3123, allocations: 144.6 kB / 0.5373 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.3136, allocations: 0.8012 MB / 0.5381 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.3138, allocations: 107.2 kB / 0.5382 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.678e-05/0.314, allocations: 51.48 kB / 0.5382 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.314, allocations: 1 kB / 0.5382 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.314, allocations: 31.91 kB / 0.5382 GB, free: 8.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.314, allocations: 0 / 0.5382 GB, free: 8.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001785/0.3158, allocations: 0.7245 MB / 0.5389 GB, free: 7.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.3159, allocations: 53.41 kB / 0.539 GB, free: 7.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.3161, allocations: 211.9 kB / 0.5392 GB, free: 7.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.3161, allocations: 31.08 kB / 0.5392 GB, free: 7.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.3162, allocations: 168.9 kB / 0.5394 GB, free: 7.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.3163, allocations: 50.33 kB / 0.5394 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.121e-05/0.3164, allocations: 43.23 kB / 0.5395 GB, free: 7.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3165, allocations: 335.4 kB / 0.5398 GB, free: 6.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.3166, allocations: 59.69 kB / 0.5399 GB, free: 6.914 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.3168, allocations: 108 kB / 0.54 GB, free: 6.828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.3171, allocations: 176 kB / 0.5401 GB, free: 6.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3171, allocations: 5.094 kB / 0.5401 GB, free: 6.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005262/0.3177, allocations: 282.7 kB / 0.5404 GB, free: 6.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3177, allocations: 5.562 kB / 0.5404 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3177, allocations: 2.25 kB / 0.5404 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002241/0.3179, allocations: 67.89 kB / 0.5405 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.3181, allocations: 35.64 kB / 0.5405 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/0.3204, allocations: 3.016 MB / 0.5434 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.3206, allocations: 9.281 kB / 0.5435 GB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.3206, allocations: 9.609 kB / 0.5435 GB, free: 3.441 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.0001463/0.3208, allocations: 143.8 kB / 0.5436 GB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.3209, allocations: 21.69 kB / 0.5436 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.424e-05/0.3209, allocations: 18.22 kB / 0.5436 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.3209, allocations: 6.188 kB / 0.5436 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.3209, allocations: 5.891 kB / 0.5437 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3209, allocations: 0 / 0.5437 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.3213, allocations: 288.1 kB / 0.5439 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3213, allocations: 0 / 0.5439 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.576e-05/0.3214, allocations: 16.67 kB / 0.5439 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001947/0.3216, allocations: 73.25 kB / 0.544 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.3216, allocations: 9.156 kB / 0.544 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.3238, allocations: 3.007 MB / 0.547 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3238, allocations: 4.062 kB / 0.547 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006501/0.3245, allocations: 409.9 kB / 0.5474 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.3246, allocations: 89.02 kB / 0.5474 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.3246, allocations: 6.188 kB / 0.5474 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.3248, allocations: 17.61 kB / 0.5475 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.3249, allocations: 18.69 kB / 0.5475 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.3249, allocations: 4.031 kB / 0.5475 GB, free: 15.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.325, allocations: 152.2 kB / 0.5476 GB, free: 15.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.325, allocations: 0 / 0.5476 GB, free: 15.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000406/0.3254, allocations: 63.72 kB / 0.5477 GB, free: 15.36 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.0001157/0.3256, allocations: 107.2 kB / 0.5478 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006714/0.3262, allocations: 392.3 kB / 0.5482 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3263, allocations: 0 / 0.5482 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004296/0.3267, allocations: 330.5 kB / 0.5485 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.3271, allocations: 27.17 kB / 0.5485 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009674/0.328, allocations: 0.5354 MB / 0.549 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.3284, allocations: 0.7464 MB / 0.5498 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.306e-05/0.3284, allocations: 20.83 kB / 0.5498 GB, free: 13.53 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3284, allocations: 0 / 0.5498 GB, free: 13.53 MB / 414.1 MB Notification: Performance of Templates: time 0.007028/0.3355, allocations: 4.596 MB / 0.5543 GB, free: 9.414 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)