Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 213.3 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 47.92 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2189, allocations: 53.36 MB / 432.4 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01051/0.2294, allocations: 8.464 MB / 440.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005138/0.2345, allocations: 2.944 MB / 443.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006234/0.2351, allocations: 35.81 kB / 443.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.2366, allocations: 0.5589 MB / 444.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.2378, allocations: 0.5854 MB / 445 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006082/0.2384, allocations: 319.5 kB / 445.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00181/0.2403, allocations: 1.765 MB / 447 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006816/0.2409, allocations: 453.4 kB / 447.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000817/0.2417, allocations: 0.6966 MB / 448.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008412/0.2426, allocations: 0.7428 MB / 448.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.2428, allocations: 160 kB / 449.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003702/0.2432, allocations: 196 kB / 449.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002764/0.2434, allocations: 338.8 kB / 449.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006449/0.2441, allocations: 0.6573 MB / 450.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.2462, allocations: 2.008 MB / 452.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2462, allocations: 4 kB / 452.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.2462, allocations: 0 / 452.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.442e-05/0.2462, allocations: 0 / 452.3 MB, free: 2.684 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003221/0.2494, allocations: 1.763 MB / 454 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.2495, allocations: 8.031 kB / 454 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005987/0.2501, allocations: 207.9 kB / 454.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.2515, allocations: 0.7641 MB / 455 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/0.2517, allocations: 171.8 kB / 455.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.2519, allocations: 112.1 kB / 455.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/0.2541, allocations: 1.577 MB / 456.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/0.2542, allocations: 4 kB / 456.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.2543, allocations: 44 kB / 456.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/0.2543, allocations: 28 kB / 456.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.2559, allocations: 0.7574 MB / 457.7 MB, free: 12.96 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005473/0.2614, allocations: 3.189 MB / 460.9 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.263, allocations: 0.5487 MB / 461.4 MB, free: 9.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005112/0.2635, allocations: 238.7 kB / 461.7 MB, free: 8.836 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.737e-05/0.2636, allocations: 16.48 kB / 461.7 MB, free: 8.816 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006612/0.2642, allocations: 323.8 kB / 462 MB, free: 8.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.695e-06/0.2642, allocations: 0 / 462 MB, free: 8.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004695/0.2689, allocations: 1.849 MB / 463.8 MB, free: 6.598 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002595/0.2692, allocations: 479.3 kB / 464.3 MB, free: 6.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.2705, allocations: 0.9634 MB / 465.3 MB, free: 5.035 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.528e-05/0.2706, allocations: 41.7 kB / 465.3 MB, free: 4.988 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005707/0.2711, allocations: 0.6712 MB / 466 MB, free: 4.309 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000208/0.2713, allocations: 246 kB / 466.2 MB, free: 4.066 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002994/0.2716, allocations: 202.8 kB / 466.4 MB, free: 3.863 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2718, allocations: 341.9 kB / 466.8 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/0.2724, allocations: 305.9 kB / 467.1 MB, free: 3.211 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.2736, allocations: 1.161 MB / 468.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.2751, allocations: 0.9451 MB / 469.2 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.2751, allocations: 7.938 kB / 469.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002203/0.2773, allocations: 1.18 MB / 470.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.939e-05/0.2773, allocations: 63.41 kB / 470.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.2774, allocations: 8.531 kB / 470.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006122/0.278, allocations: 180 kB / 470.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007226/0.2787, allocations: 203.7 kB / 470.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004609/0.2833, allocations: 3.607 MB / 474.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009002/0.2842, allocations: 67.91 kB / 474.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.132e-05/0.2843, allocations: 48 kB / 474.5 MB, free: 11.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0004684/0.2847, allocations: 297.7 kB / 474.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.2849, allocations: 115.3 kB / 474.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.2865, allocations: 0.685 MB / 475.6 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001522/0.288, allocations: 0.959 MB / 476.6 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.288, allocations: 0 / 476.6 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003957/0.2884, allocations: 159.2 kB / 476.7 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.2885, allocations: 16.12 kB / 476.7 MB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005743/0.2891, allocations: 43.97 kB / 476.8 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.2892, allocations: 48.56 kB / 476.8 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001987/0.2912, allocations: 0.7484 MB / 477.6 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00174/0.2929, allocations: 1.018 MB / 478.6 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004696/0.2934, allocations: 213 kB / 478.8 MB, free: 6.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009159/0.2943, allocations: 0.6308 MB / 479.4 MB, free: 5.918 MB / 382.1 MB Notification: Performance of Backend: time 5.21e-07/0.2943, allocations: 0 / 479.4 MB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002341/0.2967, allocations: 1.066 MB / 480.5 MB, free: 4.785 MB / 382.1 MB Notification: Performance of SimCode: time 0.004145/0.3008, allocations: 2.923 MB / 483.4 MB, free: 1.809 MB / 382.1 MB Notification: Performance of Templates: time 0.03271/0.3335, allocations: 19.87 MB / 0.4915 GB, free: 14.28 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.62858459999552] Failed to read output from testmodel.py, exit status != 0: ['time', 'armature.T', 'core.T', 'dcpm.la.i', 'loadInertia.phi', 'loadInertia.w'] 0.3415074279982946 0.36463076999999994 0.11390531000000001 Calling exit ...