Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.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.0009996/0.0009996, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009981/0.0009981, allocations: 160.5 kB / 24.55 MB, free: 12 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.9538/0.9538, allocations: 177 MB / 204.8 MB, free: 5.566 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.2698/0.2698, allocations: 34.87 MB / 296.3 MB, free: 0.5312 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 378.9 MB, free: 1.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.849e-05, allocations: 7.094 kB / 378.9 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.03462/0.03465, allocations: 41.32 MB / 420.2 MB, free: 8.434 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02383/0.05848, allocations: 11.14 MB / 431.4 MB, free: 13.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008488/0.06696, allocations: 385.9 kB / 431.7 MB, free: 12.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.014/0.08097, allocations: 9.387 MB / 441.1 MB, free: 3.445 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.193/0.274, allocations: 3.773 MB / 444.9 MB, free: 48.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006145/0.2802, allocations: 2.458 MB / 447.4 MB, free: 48.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01375/0.2939, allocations: 14 MB / 461.4 MB, free: 45.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02421/0.3181, allocations: 17.45 MB / 478.8 MB, free: 37.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02144/0.3396, allocations: 10.92 MB / 489.7 MB, free: 32.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01404/0.3536, allocations: 7.566 MB / 497.3 MB, free: 30.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006313/0.3599, allocations: 1.983 MB / 499.3 MB, free: 30.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009425/0.3693, allocations: 2.391 MB / 0.4899 GB, free: 30.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006785/0.3761, allocations: 4.156 MB / 0.494 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01352/0.3896, allocations: 5.255 MB / 0.4991 GB, free: 25.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02634/0.416, allocations: 12.85 MB / 0.5117 GB, free: 19.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.416, allocations: 0 / 0.5117 GB, free: 19.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.416, allocations: 2.531 kB / 0.5117 GB, free: 19.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0009643/0.417, allocations: 0 / 0.5117 GB, free: 19.39 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3414 * Number of variables: 3414 Notification: Performance of Generate backend data structure: time 0.02981/0.4468, allocations: 16.51 MB / 0.5278 GB, free: 5.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.4468, allocations: 12.03 kB / 0.5278 GB, free: 5.883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01712/0.4639, allocations: 7.999 MB / 0.5356 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/0.475, allocations: 7.94 MB / 0.5434 GB, free: 7.422 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004574/0.4754, allocations: 0.9345 MB / 0.5443 GB, free: 6.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001467/0.4769, allocations: 1.23 MB / 0.5455 GB, free: 5.281 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01758/0.4945, allocations: 10.55 MB / 0.5558 GB, free: 10.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000209/0.4947, allocations: 23.55 kB / 0.5558 GB, free: 10.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008282/0.4955, allocations: 0.5126 MB / 0.5563 GB, free: 10.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004448/0.496, allocations: 0.6573 MB / 0.5569 GB, free: 9.414 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01155/0.5075, allocations: 5.542 MB / 0.5623 GB, free: 3.871 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05863/0.5661, allocations: 49.03 MB / 0.6102 GB, free: 2.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1921/0.7582, allocations: 9.006 MB / 0.619 GB, free: 94.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003373/0.7616, allocations: 1.725 MB / 0.6207 GB, free: 94.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008807/0.7704, allocations: 5.79 MB / 0.6264 GB, free: 94.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/0.7705, allocations: 78.95 kB / 0.6264 GB, free: 94.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=361): time 5.44e-06/0.7705, allocations: 3.75 kB / 0.6264 GB, free: 94.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=403): time 0.02089/0.7914, allocations: 10.88 MB / 0.6371 GB, free: 92.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.7914, allocations: 93.73 kB / 0.6372 GB, free: 92.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00722/0.7986, allocations: 4.61 MB / 0.6417 GB, free: 91.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002221/0.7989, allocations: 90.98 kB / 0.6417 GB, free: 91.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00329/0.8021, allocations: 6.086 MB / 0.6477 GB, free: 88.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008968/0.803, allocations: 1.491 MB / 0.6491 GB, free: 87.26 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001668/0.8047, allocations: 1.502 MB / 0.6506 GB, free: 87.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.745e-05/0.8048, allocations: 485.1 kB / 0.6511 GB, free: 86.65 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.8066, allocations: 0.9923 MB / 0.652 GB, free: 86.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003207/0.8098, allocations: 5.558 MB / 0.6575 GB, free: 81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005398/0.8152, allocations: 7.22 MB / 0.6645 GB, free: 75.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-05/0.8153, allocations: 26.12 kB / 0.6645 GB, free: 75.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=890) (initialization): time 0.007509/0.8228, allocations: 6.314 MB / 0.6707 GB, free: 74.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.326e-05/0.8228, allocations: 47.66 kB / 0.6708 GB, free: 74.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-05/0.8229, allocations: 103.9 kB / 0.6709 GB, free: 74.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001707/0.8246, allocations: 0.8907 MB / 0.6717 GB, free: 74.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002896/0.8275, allocations: 1.616 MB / 0.6733 GB, free: 74.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00636/0.8339, allocations: 8.455 MB / 0.6816 GB, free: 69.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003544/0.8374, allocations: 394.4 kB / 0.6819 GB, free: 68.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005717/0.838, allocations: 365.3 kB / 0.6823 GB, free: 68.98 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * 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 (841): * Single equations (assignments): 836 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(1,1,100.0%), (1,1,100.0%), (8,38,59.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003797/0.8418, allocations: 0.6385 MB / 0.6829 GB, free: 68.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/0.8431, allocations: 0.6603 MB / 0.6836 GB, free: 68.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007361/0.8505, allocations: 3.758 MB / 0.6872 GB, free: 67.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/0.8505, allocations: 41.19 kB / 0.6873 GB, free: 67.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/0.8505, allocations: 10.66 kB / 0.6873 GB, free: 67.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.216e-05/0.8506, allocations: 20.62 kB / 0.6873 GB, free: 67.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01642/0.867, allocations: 11.82 MB / 0.6988 GB, free: 62.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.867, allocations: 3.688 kB / 0.6988 GB, free: 62.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/0.8687, allocations: 0.7661 MB / 0.6996 GB, free: 62.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001495/0.8702, allocations: 0.7383 MB / 0.7003 GB, free: 62.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001646/0.8704, allocations: 91.05 kB / 0.7004 GB, free: 62.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004607/0.875, allocations: 8.006 MB / 0.7082 GB, free: 55.97 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.875, allocations: 7.5 kB / 0.7082 GB, free: 55.97 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006277/0.8813, allocations: 4.772 MB / 0.7129 GB, free: 54.19 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001467/0.8827, allocations: 0.9384 MB / 0.7138 GB, free: 53.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003712/0.8831, allocations: 74.94 kB / 0.7139 GB, free: 53.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.8842, allocations: 214.4 kB / 0.7141 GB, free: 53.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000353/0.8846, allocations: 297 kB / 0.7144 GB, free: 53.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001642/0.8847, allocations: 118.3 kB / 0.7145 GB, free: 53.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002607/0.8873, allocations: 2.16 MB / 0.7166 GB, free: 52.73 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.8873, allocations: 0 / 0.7166 GB, free: 52.73 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005147/0.8925, allocations: 1.925 MB / 0.7185 GB, free: 50.81 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.phi,smpmQS.inertiaRotor.w,quadraticSpeedDependentTorqueQS.phi) * 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 (384): * Single equations (assignments): 379 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(1,1,100.0%), (8,38,59.4%), (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.0004527/0.8929, allocations: 266 kB / 0.7187 GB, free: 50.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005586/0.8985, allocations: 4.755 MB / 0.7234 GB, free: 46.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.8985, allocations: 192 / 0.7234 GB, free: 46.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002112/0.9006, allocations: 2.346 MB / 0.7257 GB, free: 44.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/0.9035, allocations: 1.312 MB / 0.7269 GB, free: 43.51 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01967/0.9232, allocations: 17.61 MB / 0.7441 GB, free: 27.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001919/0.9251, allocations: 3.1 MB / 0.7472 GB, free: 24.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003417/0.9285, allocations: 1.851 MB / 0.749 GB, free: 23.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007084/0.9292, allocations: 420.4 kB / 0.7494 GB, free: 23.23 MB / 490.7 MB Notification: Performance of SimCode: time 1.963e-06/0.9292, allocations: 0 / 0.7494 GB, free: 23.23 MB / 490.7 MB Notification: Performance of Templates: time 0.2712/1.2, allocations: 71.25 MB / 0.8189 GB, free: 125.9 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.476656957063824]