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.001215/0.001215, allocations: 114.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001395/0.001395, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 247.6 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.2086/0.2086, allocations: 46.09 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 75.88 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3425, allocations: 62.44 MB / 0.5316 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003943/0.3464, allocations: 2.572 MB / 0.5342 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.3479, allocations: 0.6725 MB / 0.5348 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002356/0.3482, allocations: 8.062 kB / 0.5348 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.3484, allocations: 39.77 kB / 0.5349 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.3486, allocations: 71.59 kB / 0.5349 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.349, allocations: 76.08 kB / 0.535 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004121/0.3494, allocations: 299.6 kB / 0.5353 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.3496, allocations: 86.88 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.3499, allocations: 118.4 kB / 0.5355 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.3502, allocations: 116.7 kB / 0.5356 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.688e-05/0.3502, allocations: 23.12 kB / 0.5356 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.183e-05/0.3503, allocations: 29.47 kB / 0.5356 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/0.3504, allocations: 58.3 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.3505, allocations: 127.3 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.3509, allocations: 292.1 kB / 0.5361 GB, free: 10.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3509, allocations: 0 / 0.5361 GB, free: 10.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3509, allocations: 0 / 0.5361 GB, free: 10.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.3509, allocations: 1.094 kB / 0.5361 GB, free: 10.1 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.0008806/0.3518, allocations: 0.5333 MB / 0.5366 GB, free: 9.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3518, allocations: 8.594 kB / 0.5366 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.352, allocations: 40.17 kB / 0.5367 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005385/0.3526, allocations: 249.7 kB / 0.5369 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.3526, allocations: 13 kB / 0.5369 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.131e-05/0.3527, allocations: 21.97 kB / 0.5369 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/0.3532, allocations: 194.5 kB / 0.5371 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.3533, allocations: 8.984 kB / 0.5371 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.3533, allocations: 9.375 kB / 0.5371 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.3533, allocations: 6.406 kB / 0.5371 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.3536, allocations: 139.7 kB / 0.5373 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.355, allocations: 0.8004 MB / 0.5381 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.3552, allocations: 99.73 kB / 0.5382 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.903e-05/0.3553, allocations: 47.5 kB / 0.5382 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.3553, allocations: 5.094 kB / 0.5382 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.3554, allocations: 36.84 kB / 0.5382 GB, free: 8.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.804e-06/0.3554, allocations: 0 / 0.5382 GB, free: 8.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001966/0.3574, allocations: 0.7161 MB / 0.5389 GB, free: 7.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.3574, allocations: 53.41 kB / 0.539 GB, free: 7.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.3577, allocations: 216.8 kB / 0.5392 GB, free: 7.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.3577, allocations: 29.7 kB / 0.5392 GB, free: 7.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.3578, allocations: 169.7 kB / 0.5394 GB, free: 7.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.3579, allocations: 50.17 kB / 0.5394 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-05/0.358, allocations: 43.08 kB / 0.5395 GB, free: 7.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3581, allocations: 335.2 kB / 0.5398 GB, free: 6.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.3583, allocations: 60.28 kB / 0.5399 GB, free: 6.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.3585, allocations: 115.2 kB / 0.54 GB, free: 6.797 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/0.3588, allocations: 177.5 kB / 0.5401 GB, free: 6.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3588, allocations: 0 / 0.5401 GB, free: 6.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005769/0.3594, allocations: 279.2 kB / 0.5404 GB, free: 6.516 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.3595, allocations: 8.281 kB / 0.5404 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.3595, allocations: 9.844 kB / 0.5404 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002852/0.3598, allocations: 67.2 kB / 0.5405 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.36, allocations: 39.47 kB / 0.5405 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/0.3624, allocations: 3.016 MB / 0.5435 GB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.3626, allocations: 16.27 kB / 0.5435 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.3626, allocations: 6.969 kB / 0.5435 GB, free: 3.402 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.0001383/0.3627, allocations: 143.8 kB / 0.5436 GB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.3628, allocations: 17.91 kB / 0.5436 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.952e-05/0.3629, allocations: 26.39 kB / 0.5437 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3629, allocations: 0 / 0.5437 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3629, allocations: 0 / 0.5437 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.3629, allocations: 90.42 kB / 0.5437 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.363, allocations: 5.219 kB / 0.5438 GB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.3632, allocations: 17.86 kB / 0.5438 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/0.3632, allocations: 23.62 kB / 0.5438 GB, free: 3.102 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006554/0.3639, allocations: 319.7 kB / 0.5441 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000535/0.3644, allocations: 414.7 kB / 0.5445 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000147/0.3646, allocations: 68.05 kB / 0.5446 GB, free: 2.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.3647, allocations: 147.9 kB / 0.5447 GB, free: 2.43 MB / 398.1 MB Notification: Performance of Backend: time 6.41e-07/0.3647, allocations: 0 / 0.5447 GB, free: 2.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008587/0.3656, allocations: 432.3 kB / 0.5451 GB, free: 2.062 MB / 398.1 MB Notification: Performance of SimCode: time 0.00107/0.3667, allocations: 0.9926 MB / 0.5461 GB, free: 1.199 MB / 398.1 MB Notification: Performance of Templates: time 0.007404/0.3741, allocations: 2.93 MB / 0.5489 GB, free: 15.23 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)