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.001302/0.001302, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001157/0.001157, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.09 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 72.11 kB / 481.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.38, allocations: 62.44 MB / 0.5316 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003974/0.384, allocations: 2.588 MB / 0.5342 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.3854, allocations: 0.6647 MB / 0.5348 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.3855, allocations: 3.219 kB / 0.5348 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.3857, allocations: 44.89 kB / 0.5349 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.3859, allocations: 67.09 kB / 0.5349 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.3862, allocations: 85.2 kB / 0.535 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.3865, allocations: 291.8 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.3867, allocations: 89.48 kB / 0.5354 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.387, allocations: 122.4 kB / 0.5355 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.3872, allocations: 121.8 kB / 0.5356 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.3872, allocations: 23.38 kB / 0.5356 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-05/0.3873, allocations: 24.75 kB / 0.5356 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.273e-05/0.3874, allocations: 54.7 kB / 0.5357 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.3875, allocations: 120.7 kB / 0.5358 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.3879, allocations: 291 kB / 0.5361 GB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3879, allocations: 0 / 0.5361 GB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3879, allocations: 0 / 0.5361 GB, free: 10.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3879, allocations: 5.25 kB / 0.5361 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.0008607/0.3888, allocations: 0.5331 MB / 0.5366 GB, free: 9.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3888, allocations: 9.656 kB / 0.5366 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.389, allocations: 31.88 kB / 0.5367 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.3894, allocations: 265.2 kB / 0.5369 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.3894, allocations: 17 kB / 0.5369 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/0.3895, allocations: 22.34 kB / 0.5369 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.3899, allocations: 191 kB / 0.5371 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3899, allocations: 0 / 0.5371 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.3899, allocations: 10.28 kB / 0.5371 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.3899, allocations: 4.75 kB / 0.5371 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.3902, allocations: 136.8 kB / 0.5373 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.3916, allocations: 0.8126 MB / 0.5381 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.3918, allocations: 95.98 kB / 0.5382 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.857e-05/0.3919, allocations: 50.97 kB / 0.5382 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.3919, allocations: 1.312 kB / 0.5382 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3919, allocations: 32.09 kB / 0.5382 GB, free: 8.289 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.392, allocations: 3.938 kB / 0.5382 GB, free: 8.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.00175/0.3937, allocations: 0.7169 MB / 0.5389 GB, free: 7.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.3938, allocations: 57.12 kB / 0.539 GB, free: 7.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.394, allocations: 211.4 kB / 0.5392 GB, free: 7.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.394, allocations: 32.05 kB / 0.5392 GB, free: 7.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.3941, allocations: 176.7 kB / 0.5394 GB, free: 7.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.3942, allocations: 49.7 kB / 0.5394 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.342e-05/0.3943, allocations: 43.45 kB / 0.5395 GB, free: 7.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3944, allocations: 339.3 kB / 0.5398 GB, free: 6.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.3945, allocations: 60.16 kB / 0.5399 GB, free: 6.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.3947, allocations: 107.7 kB / 0.54 GB, free: 6.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.395, allocations: 176.8 kB / 0.5401 GB, free: 6.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.395, allocations: 0 / 0.5401 GB, free: 6.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005299/0.3956, allocations: 283.3 kB / 0.5404 GB, free: 6.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3956, allocations: 5.5 kB / 0.5404 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.3956, allocations: 2.562 kB / 0.5404 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002529/0.3959, allocations: 71.64 kB / 0.5405 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.3961, allocations: 31.08 kB / 0.5405 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/0.3984, allocations: 3.019 MB / 0.5435 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.3986, allocations: 8.406 kB / 0.5435 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.3986, allocations: 6.344 kB / 0.5435 GB, free: 3.426 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.0001512/0.3988, allocations: 144.7 kB / 0.5436 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.3988, allocations: 17.94 kB / 0.5436 GB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/0.3989, allocations: 25.83 kB / 0.5437 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3989, allocations: 1.844 kB / 0.5437 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.3989, allocations: 5.875 kB / 0.5437 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3989, allocations: 0 / 0.5437 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.3993, allocations: 288.2 kB / 0.5439 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3993, allocations: 0 / 0.5439 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.485e-05/0.3994, allocations: 17.14 kB / 0.544 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001946/0.3996, allocations: 64.23 kB / 0.544 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.3996, allocations: 5.75 kB / 0.544 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/0.4018, allocations: 3.019 MB / 0.547 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4018, allocations: 4.062 kB / 0.547 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006437/0.4025, allocations: 402.2 kB / 0.5474 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.4026, allocations: 93.12 kB / 0.5474 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.4026, allocations: 6.156 kB / 0.5474 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.4028, allocations: 17.7 kB / 0.5475 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.627e-05/0.4028, allocations: 14.67 kB / 0.5475 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.4029, allocations: 4.156 kB / 0.5475 GB, free: 15.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.403, allocations: 152.1 kB / 0.5476 GB, free: 15.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.403, allocations: 0 / 0.5476 GB, free: 15.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003859/0.4034, allocations: 63.75 kB / 0.5477 GB, free: 15.35 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.0001178/0.4035, allocations: 106.4 kB / 0.5478 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006822/0.4042, allocations: 392.8 kB / 0.5482 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4042, allocations: 1.094 kB / 0.5482 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004178/0.4047, allocations: 329.7 kB / 0.5485 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.405, allocations: 33.92 kB / 0.5485 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.406, allocations: 0.537 MB / 0.549 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.4064, allocations: 0.7466 MB / 0.5498 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.346e-05/0.4064, allocations: 16.75 kB / 0.5498 GB, free: 13.52 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4064, allocations: 0 / 0.5498 GB, free: 13.52 MB / 414.1 MB Notification: Performance of Templates: time 0.006555/0.413, allocations: 4.593 MB / 0.5543 GB, free: 9.426 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)