Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.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.001008/0.001008, allocations: 91.5 kB / 20.93 MB, free: 3.617 MB / 18.57 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.001178/0.001178, allocations: 156.5 kB / 24.23 MB, free: 336 kB / 18.57 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 0.9672/0.9672, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.2633/0.2633, allocations: 34.87 MB / 295.8 MB, free: 0.5664 MB / 266.7 MB " [Timeout remaining time 180] 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.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 378.1 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.133e-05/3.295e-05, allocations: 3.719 kB / 378.1 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01364/0.01367, allocations: 17.11 MB / 395.2 MB, free: 1.137 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009469/0.02314, allocations: 5.616 MB / 400.8 MB, free: 11.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003471/0.02661, allocations: 131.2 kB / 400.9 MB, free: 11.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003224/0.02984, allocations: 1.266 MB / 402.2 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004928/0.03476, allocations: 1.677 MB / 403.9 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.03704, allocations: 1.094 MB / 405 MB, free: 7.316 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005562/0.0426, allocations: 5.433 MB / 410.4 MB, free: 1.863 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003062/0.04566, allocations: 2.235 MB / 412.6 MB, free: 15.54 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004045/0.04971, allocations: 3.361 MB / 416 MB, free: 12.17 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003299/0.05301, allocations: 2.416 MB / 418.4 MB, free: 9.75 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001195/0.0542, allocations: 0.6133 MB / 419 MB, free: 9.137 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.05604, allocations: 0.8433 MB / 419.9 MB, free: 8.293 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001187/0.05723, allocations: 1.488 MB / 421.4 MB, free: 6.801 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002385/0.05962, allocations: 1.82 MB / 423.2 MB, free: 4.977 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005237/0.06485, allocations: 4.295 MB / 427.5 MB, free: 0.668 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.06486, allocations: 0 / 427.5 MB, free: 0.668 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.06486, allocations: 0 / 427.5 MB, free: 0.668 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001215/0.06498, allocations: 4 kB / 427.5 MB, free: 0.6641 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.008201/0.07318, allocations: 5.696 MB / 433.2 MB, free: 10.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.07323, allocations: 12.03 kB / 433.2 MB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003526/0.07675, allocations: 1.512 MB / 434.7 MB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003949/0.0807, allocations: 2.866 MB / 437.6 MB, free: 6.449 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/0.08089, allocations: 304.5 kB / 437.9 MB, free: 6.148 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005345/0.08142, allocations: 404.1 kB / 438.3 MB, free: 5.754 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00536/0.08678, allocations: 3.195 MB / 441.5 MB, free: 2.426 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.119e-05/0.08684, allocations: 7.953 kB / 441.5 MB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/0.08709, allocations: 164 kB / 441.6 MB, free: 2.258 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/0.08721, allocations: 176 kB / 441.8 MB, free: 2.082 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003009/0.09022, allocations: 1.522 MB / 443.3 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1663/0.2565, allocations: 13.5 MB / 456.8 MB, free: 92.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/0.2592, allocations: 2.418 MB / 459.2 MB, free: 91.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/0.261, allocations: 1.319 MB / 460.6 MB, free: 91.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004051/0.2651, allocations: 3.241 MB / 463.8 MB, free: 89.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.2651, allocations: 49.08 kB / 463.8 MB, free: 89.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=157): time 3.015e-06/0.2651, allocations: 0 / 463.8 MB, free: 89.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.005861/0.271, allocations: 3.764 MB / 467.6 MB, free: 87.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.271, allocations: 66.25 kB / 467.7 MB, free: 87.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/0.2728, allocations: 1.869 MB / 469.5 MB, free: 87.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.216e-05/0.2729, allocations: 51.77 kB / 469.6 MB, free: 87.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007895/0.2737, allocations: 2.022 MB / 471.6 MB, free: 85.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002993/0.274, allocations: 0.5878 MB / 472.2 MB, free: 85.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000373/0.2744, allocations: 420.9 kB / 472.6 MB, free: 85.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.2744, allocations: 476.8 kB / 473.1 MB, free: 84.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005071/0.2749, allocations: 309.9 kB / 473.4 MB, free: 84.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008005/0.2757, allocations: 1.355 MB / 474.7 MB, free: 83.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.2772, allocations: 1.819 MB / 476.6 MB, free: 81.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.66e-05/0.2773, allocations: 6.406 kB / 476.6 MB, free: 81.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002348/0.2796, allocations: 1.862 MB / 478.4 MB, free: 80.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.2796, allocations: 14.66 kB / 478.4 MB, free: 80.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/0.2797, allocations: 23.88 kB / 478.5 MB, free: 80.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000288/0.2799, allocations: 140.7 kB / 478.6 MB, free: 80.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.281, allocations: 0.5231 MB / 479.1 MB, free: 80.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.2821, allocations: 2.406 MB / 481.5 MB, free: 78.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009119/0.2831, allocations: 105.7 kB / 481.6 MB, free: 78.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.2832, allocations: 94.97 kB / 481.7 MB, free: 78.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007266/0.2839, allocations: 308.9 kB / 482 MB, free: 78.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/0.2842, allocations: 290.8 kB / 482.3 MB, free: 78.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/0.2862, allocations: 1.404 MB / 483.7 MB, free: 77.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.2862, allocations: 15.47 kB / 483.7 MB, free: 77.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.2862, allocations: 4.781 kB / 483.7 MB, free: 77.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.2862, allocations: 7.828 kB / 483.7 MB, free: 77.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005174/0.2914, allocations: 4.072 MB / 487.8 MB, free: 75.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.2914, allocations: 2.75 kB / 487.8 MB, free: 75.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006778/0.2921, allocations: 270.6 kB / 488.1 MB, free: 75.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006353/0.2927, allocations: 297.7 kB / 488.4 MB, free: 75.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.325e-05/0.2928, allocations: 39.48 kB / 488.4 MB, free: 75.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003453/0.2962, allocations: 7.407 MB / 495.8 MB, free: 68.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2962, allocations: 4.484 kB / 495.8 MB, free: 68.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/0.2991, allocations: 1.926 MB / 497.8 MB, free: 68.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007266/0.2998, allocations: 410 kB / 498.2 MB, free: 67.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/0.3, allocations: 33.62 kB / 498.2 MB, free: 67.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005522/0.3006, allocations: 75.92 kB / 498.3 MB, free: 67.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/0.3008, allocations: 120.8 kB / 498.4 MB, free: 67.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.166e-05/0.3009, allocations: 43.05 kB / 498.4 MB, free: 67.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001304/0.3022, allocations: 1.045 MB / 499.5 MB, free: 67.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3022, allocations: 0 / 499.5 MB, free: 67.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001801/0.304, allocations: 0.6704 MB / 0.4884 GB, free: 67.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002662/0.3042, allocations: 176.5 kB / 0.4886 GB, free: 67.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.306, allocations: 1.356 MB / 0.4899 GB, free: 66.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.306, allocations: 0 / 0.4899 GB, free: 66.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009692/0.3069, allocations: 1.195 MB / 0.4911 GB, free: 65.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.3082, allocations: 0.5253 MB / 0.4916 GB, free: 65.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007555/0.3158, allocations: 6.141 MB / 0.4976 GB, free: 61.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000805/0.3166, allocations: 0.938 MB / 0.4985 GB, free: 60.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001135/0.3177, allocations: 456.1 kB / 0.4989 GB, free: 60.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/0.318, allocations: 164.4 kB / 0.4991 GB, free: 60.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.864e-06/0.318, allocations: 0.7656 kB / 0.4991 GB, free: 60.2 MB / 410.7 MB Notification: Performance of Templates: time 0.03562/0.3537, allocations: 29.95 MB / 0.5283 GB, free: 32.7 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.916238301899284]