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.001095/0.001095, allocations: 87.67 kB / 21.19 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.001007/0.001007, allocations: 156.5 kB / 24.55 MB, free: 16 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.9705/0.9705, allocations: 177 MB / 204.8 MB, free: 5.246 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.2755/0.2755, allocations: 34.86 MB / 296.3 MB, free: 492 kB / 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.673e-06/1.673e-06, allocations: 0 / 378.9 MB, free: 1.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.64e-05, allocations: 3.297 kB / 378.9 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.03131/0.03133, allocations: 41.32 MB / 420.2 MB, free: 8.461 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02184/0.05318, allocations: 11.15 MB / 431.4 MB, free: 13.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007049/0.06022, allocations: 381.9 kB / 431.7 MB, free: 12.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01097/0.07119, allocations: 9.379 MB / 441.1 MB, free: 3.477 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.188/0.2592, allocations: 3.766 MB / 444.9 MB, free: 47.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006421/0.2656, allocations: 2.464 MB / 447.4 MB, free: 47.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01408/0.2797, allocations: 14 MB / 461.4 MB, free: 44.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02092/0.3006, allocations: 17.45 MB / 478.8 MB, free: 37.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0127/0.3133, allocations: 10.67 MB / 489.5 MB, free: 32.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0111/0.3244, allocations: 7.59 MB / 497.1 MB, free: 30.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004501/0.3289, allocations: 1.987 MB / 499.1 MB, free: 30.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004228/0.3332, allocations: 2.4 MB / 0.4897 GB, free: 30.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00247/0.3356, allocations: 4.195 MB / 0.4938 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007212/0.3429, allocations: 5.281 MB / 0.499 GB, free: 25.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01668/0.3595, allocations: 12.9 MB / 0.5116 GB, free: 19.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3595, allocations: 2.188 kB / 0.5116 GB, free: 19.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3595, allocations: 4 kB / 0.5116 GB, free: 19.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007201/0.3603, allocations: 0 / 0.5116 GB, free: 19.28 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.02923/0.3895, allocations: 16.58 MB / 0.5278 GB, free: 5.855 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3895, allocations: 12.03 kB / 0.5278 GB, free: 5.844 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02537/0.4149, allocations: 8.002 MB / 0.5356 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009956/0.4249, allocations: 7.921 MB / 0.5433 GB, free: 7.477 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004869/0.4253, allocations: 0.9253 MB / 0.5442 GB, free: 6.559 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001435/0.4268, allocations: 1.227 MB / 0.5454 GB, free: 5.344 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01639/0.4432, allocations: 10.57 MB / 0.5557 GB, free: 10.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001736/0.4433, allocations: 23.38 kB / 0.5558 GB, free: 10.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008195/0.4442, allocations: 0.5013 MB / 0.5563 GB, free: 10.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003969/0.4446, allocations: 0.6543 MB / 0.5569 GB, free: 9.469 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.4556, allocations: 5.567 MB / 0.5623 GB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07227/0.5279, allocations: 49.17 MB / 0.6103 GB, free: 2.465 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2133/0.7412, allocations: 9.034 MB / 0.6192 GB, free: 94.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003342/0.7445, allocations: 1.728 MB / 0.6209 GB, free: 94.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01005/0.7546, allocations: 5.853 MB / 0.6266 GB, free: 94.08 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.777e-05/0.7546, allocations: 73.77 kB / 0.6266 GB, free: 94.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=361): time 5.921e-06/0.7546, allocations: 0.6875 kB / 0.6266 GB, free: 94.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=403): time 0.01994/0.7746, allocations: 10.97 MB / 0.6374 GB, free: 91.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.7746, allocations: 97.67 kB / 0.6375 GB, free: 91.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005856/0.7805, allocations: 4.625 MB / 0.642 GB, free: 91.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001975/0.7807, allocations: 93.92 kB / 0.6421 GB, free: 91.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002724/0.7834, allocations: 6.082 MB / 0.648 GB, free: 87.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008915/0.7843, allocations: 1.492 MB / 0.6495 GB, free: 86.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001671/0.7859, allocations: 1.505 MB / 0.6509 GB, free: 86.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.255e-05/0.786, allocations: 485.8 kB / 0.6514 GB, free: 86.35 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/0.7878, allocations: 0.9837 MB / 0.6524 GB, free: 86.33 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003361/0.7912, allocations: 5.567 MB / 0.6578 GB, free: 80.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005328/0.7965, allocations: 7.233 MB / 0.6649 GB, free: 74.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.151e-05/0.7965, allocations: 31.25 kB / 0.6649 GB, free: 74.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=890) (initialization): time 0.008162/0.8047, allocations: 6.328 MB / 0.6711 GB, free: 74.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.421e-05/0.8048, allocations: 52.94 kB / 0.6711 GB, free: 74.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.257e-05/0.8048, allocations: 104.7 kB / 0.6712 GB, free: 74.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/0.8065, allocations: 0.882 MB / 0.6721 GB, free: 74.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002879/0.8094, allocations: 1.63 MB / 0.6737 GB, free: 74.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005778/0.8152, allocations: 8.452 MB / 0.6819 GB, free: 68.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003257/0.8185, allocations: 419 kB / 0.6823 GB, free: 68.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000386/0.8188, allocations: 365.9 kB / 0.6827 GB, free: 68.68 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.003226/0.8221, allocations: 0.6413 MB / 0.6833 GB, free: 68.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009137/0.823, allocations: 0.6587 MB / 0.6839 GB, free: 68.15 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005354/0.8283, allocations: 3.802 MB / 0.6876 GB, free: 67.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/0.8284, allocations: 39.69 kB / 0.6877 GB, free: 67.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.8284, allocations: 9.312 kB / 0.6877 GB, free: 67.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.229e-05/0.8284, allocations: 21.61 kB / 0.6877 GB, free: 67.71 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01691/0.8453, allocations: 11.85 MB / 0.6993 GB, free: 62.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.8453, allocations: 7.391 kB / 0.6993 GB, free: 62.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/0.847, allocations: 0.7799 MB / 0.7001 GB, free: 62.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001509/0.8485, allocations: 0.7459 MB / 0.7008 GB, free: 62.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001944/0.8487, allocations: 92.36 kB / 0.7009 GB, free: 62.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004853/0.8536, allocations: 8.001 MB / 0.7087 GB, free: 55.87 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8536, allocations: 7.906 kB / 0.7087 GB, free: 55.87 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006522/0.8601, allocations: 4.779 MB / 0.7134 GB, free: 54.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001832/0.8619, allocations: 0.9623 MB / 0.7143 GB, free: 53.51 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004271/0.8624, allocations: 76.5 kB / 0.7144 GB, free: 53.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.8636, allocations: 222.1 kB / 0.7146 GB, free: 53.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003695/0.8639, allocations: 293 kB / 0.7149 GB, free: 53.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001705/0.8641, allocations: 120.8 kB / 0.715 GB, free: 53.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002751/0.8669, allocations: 2.182 MB / 0.7171 GB, free: 52.26 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8669, allocations: 0 / 0.7171 GB, free: 52.26 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005357/0.8722, allocations: 1.937 MB / 0.719 GB, free: 50.32 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.0004279/0.8726, allocations: 267.2 kB / 0.7193 GB, free: 50.11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006153/0.8788, allocations: 4.769 MB / 0.7239 GB, free: 46.12 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.8788, allocations: 4 kB / 0.7239 GB, free: 46.12 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002482/0.8813, allocations: 2.341 MB / 0.7262 GB, free: 44.06 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003185/0.8845, allocations: 1.321 MB / 0.7275 GB, free: 43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02843/0.9129, allocations: 17.65 MB / 0.7447 GB, free: 26.62 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002006/0.9149, allocations: 3.099 MB / 0.7478 GB, free: 24.36 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003414/0.9183, allocations: 1.847 MB / 0.7496 GB, free: 22.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007465/0.9191, allocations: 428.4 kB / 0.75 GB, free: 22.57 MB / 490.7 MB Notification: Performance of SimCode: time 2.505e-06/0.9191, allocations: 0 / 0.75 GB, free: 22.57 MB / 490.7 MB Notification: Performance of Templates: time 0.2695/1.189, allocations: 68.85 MB / 0.8172 GB, free: 125.7 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.574880441185087]