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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001836/0.001836, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002894/0.002894, allocations: 212.6 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 230.3 MB / 258 MB, free: 8.215 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.89 MB / 361.3 MB, free: 4.527 MB / 286.1 MB " [Timeout remaining time 179] 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=10000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled") translateModel(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 79.86 kB / 0.497 GB, free: 7.609 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3652, allocations: 66.03 MB / 0.5615 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled): time 0.006843/0.372, allocations: 4.08 MB / 0.5655 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003162/0.3752, allocations: 1.511 MB / 0.567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003459/0.3755, allocations: 19.88 kB / 0.567 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007906/0.3763, allocations: 262.3 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.3766, allocations: 134.8 kB / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004991/0.3771, allocations: 199.6 kB / 0.5676 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008263/0.3779, allocations: 0.6428 MB / 0.5682 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003895/0.3783, allocations: 196.7 kB / 0.5684 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004424/0.3788, allocations: 247 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000334/0.3791, allocations: 262.7 kB / 0.5689 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.435e-05/0.3792, allocations: 60 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.3793, allocations: 64 kB / 0.569 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.3794, allocations: 123.5 kB / 0.5691 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002909/0.3797, allocations: 298.5 kB / 0.5694 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009418/0.3807, allocations: 0.7108 MB / 0.5701 GB, free: 11.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3807, allocations: 0 / 0.5701 GB, free: 11.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3807, allocations: 0 / 0.5701 GB, free: 11.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.3807, allocations: 0 / 0.5701 GB, free: 11.79 MB / 414.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.001478/0.3822, allocations: 0.7775 MB / 0.5708 GB, free: 10.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3822, allocations: 12.03 kB / 0.5709 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.3823, allocations: 64.52 kB / 0.5709 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006676/0.383, allocations: 346.1 kB / 0.5712 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/0.383, allocations: 41.38 kB / 0.5713 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.807e-05/0.3831, allocations: 48.33 kB / 0.5713 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008063/0.3839, allocations: 455.3 kB / 0.5718 GB, free: 9.992 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.3839, allocations: 0 / 0.5718 GB, free: 9.992 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.976e-05/0.384, allocations: 20 kB / 0.5718 GB, free: 9.973 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.384, allocations: 15.98 kB / 0.5718 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006252/0.3846, allocations: 307.8 kB / 0.5721 GB, free: 9.656 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.3871, allocations: 1.581 MB / 0.5736 GB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008527/0.388, allocations: 300.7 kB / 0.5739 GB, free: 7.695 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.3882, allocations: 108.1 kB / 0.574 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.3882, allocations: 4 kB / 0.574 GB, free: 7.586 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.3882, allocations: 38.56 kB / 0.5741 GB, free: 7.539 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.333e-06/0.3882, allocations: 0 / 0.5741 GB, free: 7.539 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.001686/0.3899, allocations: 0.7413 MB / 0.5748 GB, free: 6.762 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.39, allocations: 55.41 kB / 0.5748 GB, free: 6.695 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005217/0.3905, allocations: 409.5 kB / 0.5752 GB, free: 6.285 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.3905, allocations: 29.7 kB / 0.5753 GB, free: 6.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.3907, allocations: 284.3 kB / 0.5755 GB, free: 5.969 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.385e-05/0.3908, allocations: 99.16 kB / 0.5756 GB, free: 5.871 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.642e-05/0.3909, allocations: 57.45 kB / 0.5757 GB, free: 5.809 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3911, allocations: 350.8 kB / 0.576 GB, free: 5.457 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.3913, allocations: 96.91 kB / 0.5761 GB, free: 5.359 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.3916, allocations: 167.1 kB / 0.5763 GB, free: 5.172 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.392, allocations: 258.7 kB / 0.5765 GB, free: 4.895 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.392, allocations: 4 kB / 0.5765 GB, free: 4.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000634/0.3926, allocations: 346 kB / 0.5769 GB, free: 4.543 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.3927, allocations: 12.16 kB / 0.5769 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3927, allocations: 4 kB / 0.5769 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001575/0.3928, allocations: 24.84 kB / 0.5769 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.3931, allocations: 71.89 kB / 0.577 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.3943, allocations: 1.275 MB / 0.5782 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.3945, allocations: 11.98 kB / 0.5782 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.3945, allocations: 11.94 kB / 0.5782 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003078/0.3949, allocations: 208.2 kB / 0.5784 GB, free: 2.809 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002077/0.3951, allocations: 151.4 kB / 0.5786 GB, free: 2.633 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003772/0.3954, allocations: 235.6 kB / 0.5788 GB, free: 2.375 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-06/0.3954, allocations: 0 / 0.5788 GB, free: 2.375 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005644/0.396, allocations: 342.2 kB / 0.5791 GB, free: 2.031 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.396, allocations: 4 kB / 0.5791 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.396, allocations: 7.984 kB / 0.5791 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.869e-05/0.3961, allocations: 20.86 kB / 0.5792 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.3963, allocations: 68.16 kB / 0.5792 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.3974, allocations: 1.283 MB / 0.5805 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.3976, allocations: 8 kB / 0.5805 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.3976, allocations: 12 kB / 0.5805 GB, free: 0.5117 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.0001697/0.3977, allocations: 200.1 kB / 0.5807 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.796e-05/0.3978, allocations: 43.72 kB / 0.5807 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.658e-05/0.3979, allocations: 39.61 kB / 0.5808 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3979, allocations: 4 kB / 0.5808 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3979, allocations: 64 / 0.5808 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.3979, allocations: 4 kB / 0.5808 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.3993, allocations: 0.8122 MB / 0.5816 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.3993, allocations: 4 kB / 0.5816 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.3995, allocations: 63.91 kB / 0.5816 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.412e-05/0.3996, allocations: 20.84 kB / 0.5816 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.3996, allocations: 11.94 kB / 0.5817 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.4006, allocations: 1.275 MB / 0.5829 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4006, allocations: 0 / 0.5829 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007875/0.4014, allocations: 485.7 kB / 0.5834 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.628e-05/0.4015, allocations: 51.73 kB / 0.5834 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.4015, allocations: 4 kB / 0.5834 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.4018, allocations: 19.98 kB / 0.5834 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.4018, allocations: 19.91 kB / 0.5835 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/0.4019, allocations: 15.94 kB / 0.5835 GB, free: 13.24 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003414/0.4022, allocations: 279.2 kB / 0.5837 GB, free: 12.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4022, allocations: 0 / 0.5837 GB, free: 12.97 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000594/0.4028, allocations: 144 kB / 0.5839 GB, free: 12.83 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcpm.inductor.i,dcpm.inertia.w,torqueLoad.phi,deadTime.y,currentController.integrator.y) * 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 (24): * Single equations (assignments): 23 * 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 Backend phase and start with SimCode phase: time 0.0001458/0.4029, allocations: 99.72 kB / 0.584 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.404, allocations: 0.5672 MB / 0.5845 GB, free: 12.13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.404, allocations: 0.9375 kB / 0.5845 GB, free: 12.13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003433/0.4044, allocations: 226.6 kB / 0.5847 GB, free: 11.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.4049, allocations: 73.97 kB / 0.5848 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.4068, allocations: 1.037 MB / 0.5858 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/0.4073, allocations: 0.8308 MB / 0.5866 GB, free: 9.898 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.4075, allocations: 55.22 kB / 0.5867 GB, free: 9.848 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.855e-05/0.4075, allocations: 27.44 kB / 0.5867 GB, free: 9.82 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4075, allocations: 0 / 0.5867 GB, free: 9.82 MB / 430.1 MB Notification: Performance of Templates: time 0.01074/0.4183, allocations: 4.33 MB / 0.5909 GB, free: 5.508 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.205861072987318] Failed to read output from testmodel.py, exit status != 0: 0.4274764759466052 0.441960743 0.058128094000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fa69c0357b0>