Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.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.Machines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled") translateModel(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001578/0.001578, allocations: 111.7 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001829/0.001829, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2218/0.2218, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 75.88 kB / 482 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3752, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled): time 0.005549/0.3808, allocations: 4.024 MB / 0.5356 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002589/0.3834, allocations: 1.493 MB / 0.537 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002961/0.3838, allocations: 17 kB / 0.5371 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006881/0.3845, allocations: 261 kB / 0.5373 GB, free: 9.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.3848, allocations: 150.9 kB / 0.5374 GB, free: 8.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004152/0.3852, allocations: 186.9 kB / 0.5376 GB, free: 8.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000697/0.3859, allocations: 0.6344 MB / 0.5382 GB, free: 8.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000428/0.3863, allocations: 270.7 kB / 0.5385 GB, free: 8.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004047/0.3868, allocations: 240.2 kB / 0.5387 GB, free: 8.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/0.3871, allocations: 259.4 kB / 0.539 GB, free: 7.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.28e-05/0.3872, allocations: 66.53 kB / 0.539 GB, free: 7.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.754e-05/0.3873, allocations: 61.03 kB / 0.5391 GB, free: 7.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.3874, allocations: 130 kB / 0.5392 GB, free: 7.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000272/0.3877, allocations: 296.8 kB / 0.5395 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007385/0.3884, allocations: 0.7025 MB / 0.5402 GB, free: 6.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3884, allocations: 0 / 0.5402 GB, free: 6.965 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3884, allocations: 0 / 0.5402 GB, free: 6.965 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.3885, allocations: 1.031 kB / 0.5402 GB, free: 6.965 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.00142/0.3899, allocations: 0.8331 MB / 0.541 GB, free: 6.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.3899, allocations: 8.906 kB / 0.541 GB, free: 6.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.3901, allocations: 58.84 kB / 0.5411 GB, free: 6.238 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006335/0.3907, allocations: 420.2 kB / 0.5415 GB, free: 5.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/0.3907, allocations: 40.52 kB / 0.5415 GB, free: 5.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.195e-05/0.3908, allocations: 50.12 kB / 0.5416 GB, free: 5.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008036/0.3917, allocations: 461.3 kB / 0.542 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.3917, allocations: 1.188 kB / 0.542 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.943e-05/0.3917, allocations: 15.69 kB / 0.542 GB, free: 5.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.3917, allocations: 11.69 kB / 0.542 GB, free: 5.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006078/0.3924, allocations: 311.7 kB / 0.5423 GB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002413/0.3948, allocations: 1.647 MB / 0.5439 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008573/0.3957, allocations: 391.3 kB / 0.5443 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.3959, allocations: 121.3 kB / 0.5444 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.3959, allocations: 6.75 kB / 0.5444 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.396, allocations: 32.78 kB / 0.5445 GB, free: 3.645 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.744e-06/0.396, allocations: 0 / 0.5445 GB, free: 3.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.001711/0.3977, allocations: 0.8912 MB / 0.5453 GB, free: 2.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.3977, allocations: 54.72 kB / 0.5454 GB, free: 2.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/0.3982, allocations: 397.8 kB / 0.5458 GB, free: 2.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.3983, allocations: 31.08 kB / 0.5458 GB, free: 2.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.3985, allocations: 276.6 kB / 0.5461 GB, free: 2.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.382e-05/0.3985, allocations: 85.22 kB / 0.5461 GB, free: 2.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.3987, allocations: 70.48 kB / 0.5462 GB, free: 2.246 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3988, allocations: 355.4 kB / 0.5465 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.399, allocations: 101.3 kB / 0.5466 GB, free: 1.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.3993, allocations: 157.2 kB / 0.5468 GB, free: 1.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/0.3997, allocations: 257.2 kB / 0.547 GB, free: 1.551 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3997, allocations: 0 / 0.547 GB, free: 1.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006034/0.4003, allocations: 350 kB / 0.5474 GB, free: 1.199 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.4004, allocations: 7.938 kB / 0.5474 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.4004, allocations: 0 / 0.5474 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.4005, allocations: 24.84 kB / 0.5474 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.4008, allocations: 75.89 kB / 0.5475 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.4019, allocations: 1.376 MB / 0.5488 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.4021, allocations: 15.98 kB / 0.5488 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.4022, allocations: 12.16 kB / 0.5488 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002703/0.4024, allocations: 212 kB / 0.549 GB, free: 15.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001918/0.4026, allocations: 156.4 kB / 0.5492 GB, free: 15.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003227/0.403, allocations: 231.6 kB / 0.5494 GB, free: 14.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.403, allocations: 0 / 0.5494 GB, free: 14.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005236/0.4035, allocations: 345.9 kB / 0.5497 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/0.4035, allocations: 4 kB / 0.5497 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4035, allocations: 4 kB / 0.5498 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.979e-05/0.4036, allocations: 25.09 kB / 0.5498 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.4039, allocations: 67.91 kB / 0.5498 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009626/0.4048, allocations: 1.383 MB / 0.5512 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.4051, allocations: 12.03 kB / 0.5512 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.4051, allocations: 8 kB / 0.5512 GB, free: 12.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (currentController.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.4052, allocations: 209.2 kB / 0.5514 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.56e-05/0.4053, allocations: 39.53 kB / 0.5514 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.208e-05/0.4054, allocations: 39.52 kB / 0.5515 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4054, allocations: 4.062 kB / 0.5515 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4054, allocations: 0 / 0.5515 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.216e-05/0.4055, allocations: 112.6 kB / 0.5516 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.4055, allocations: 8 kB / 0.5516 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.4058, allocations: 15.98 kB / 0.5516 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/0.4059, allocations: 23.91 kB / 0.5516 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007864/0.4067, allocations: 365.5 kB / 0.552 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007259/0.4074, allocations: 0.5337 MB / 0.5525 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001928/0.4076, allocations: 99.88 kB / 0.5526 GB, free: 11.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00031/0.4079, allocations: 287.1 kB / 0.5529 GB, free: 11.15 MB / 414.1 MB Notification: Performance of Backend: time 7.81e-07/0.4079, allocations: 0 / 0.5529 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.4091, allocations: 0.5876 MB / 0.5535 GB, free: 10.54 MB / 414.1 MB Notification: Performance of SimCode: time 0.001856/0.411, allocations: 1.456 MB / 0.5549 GB, free: 9.023 MB / 414.1 MB Notification: Performance of Templates: time 0.009902/0.4209, allocations: 5.134 MB / 0.5599 GB, free: 3.922 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.pipe 2>&1)