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.001915/0.001915, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.002137/0.002137, allocations: 164.8 kB / 23.95 MB, free: 0.6055 MB / 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 1.617/1.617, allocations: 177 MB / 204.1 MB, free: 5.766 MB / 186.7 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.4229/0.4229, allocations: 34.85 MB / 295.4 MB, free: 0.5586 MB / 266.7 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.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 2.255e-06/2.255e-06, allocations: 0 / 443.6 MB, free: 404 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.211e-05/3.437e-05, allocations: 4.672 kB / 443.7 MB, free: 400 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.235/0.235, allocations: 35.99 MB / 479.6 MB, free: 20.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02158/0.2566, allocations: 10.9 MB / 490.5 MB, free: 12.81 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008991/0.2656, allocations: 379.2 kB / 490.9 MB, free: 12.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01913/0.2847, allocations: 8.674 MB / 499.6 MB, free: 7.812 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01308/0.2978, allocations: 3.745 MB / 0.4915 GB, free: 5.418 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007877/0.3057, allocations: 2.421 MB / 0.4939 GB, free: 3.945 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.02092/0.3266, allocations: 13.99 MB / 0.5076 GB, free: 12.47 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03637/0.363, allocations: 17.44 MB / 0.5246 GB, free: 1.48 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02706/0.39, allocations: 10.58 MB / 0.5349 GB, free: 7.078 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01624/0.4063, allocations: 6.829 MB / 0.5416 GB, free: 240 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00713/0.4134, allocations: 1.988 MB / 0.5435 GB, free: 14.24 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01137/0.4248, allocations: 2.401 MB / 0.5459 GB, free: 11.84 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007546/0.4323, allocations: 4.122 MB / 0.5499 GB, free: 7.711 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0144/0.4467, allocations: 5.212 MB / 0.555 GB, free: 2.488 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04471/0.4914, allocations: 26.83 MB / 0.5812 GB, free: 7.586 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.4914, allocations: 4 kB / 0.5812 GB, free: 7.582 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.4914, allocations: 0 / 0.5812 GB, free: 7.582 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000893/0.4923, allocations: 0 / 0.5812 GB, free: 7.582 MB / 490.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.05569/0.548, allocations: 15.55 MB / 0.5964 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.5481, allocations: 8.031 kB / 0.5964 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03624/0.5843, allocations: 6.204 MB / 0.6025 GB, free: 1.688 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02451/0.6088, allocations: 8.305 MB / 0.6106 GB, free: 9.293 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001463/0.6103, allocations: 0.9272 MB / 0.6115 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005756/0.616, allocations: 1.234 MB / 0.6127 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06245/0.6785, allocations: 19.27 MB / 0.6315 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001174/0.6796, allocations: 23.91 kB / 0.6315 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006836/0.6865, allocations: 0.5117 MB / 0.632 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001036/0.6875, allocations: 0.6504 MB / 0.6327 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4115/1.099, allocations: 17.01 MB / 0.6493 GB, free: 127 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1018/1.201, allocations: 52.07 MB / 0.7001 GB, free: 97.45 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02198/1.223, allocations: 10.39 MB / 0.7103 GB, free: 94.51 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005885/1.229, allocations: 3.491 MB / 0.7137 GB, free: 93.2 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01801/1.247, allocations: 7.847 MB / 0.7213 GB, free: 89.51 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/1.247, allocations: 74.69 kB / 0.7214 GB, free: 89.44 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=361): time 6.422e-06/1.247, allocations: 1.625 kB / 0.7214 GB, free: 89.44 MB / 0.5262 GB Notification: Performance of matching and sorting (n=403): time 0.03474/1.282, allocations: 17.53 MB / 0.7385 GB, free: 72.52 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/1.282, allocations: 102.5 kB / 0.7386 GB, free: 72.41 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007151/1.289, allocations: 4.993 MB / 0.7435 GB, free: 67.54 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0005332/1.289, allocations: 93.7 kB / 0.7436 GB, free: 67.44 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002321/1.292, allocations: 5.807 MB / 0.7493 GB, free: 61.62 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001137/1.293, allocations: 1.447 MB / 0.7507 GB, free: 60.19 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002322/1.295, allocations: 1.355 MB / 0.752 GB, free: 58.82 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.472e-05/1.295, allocations: 301.1 kB / 0.7523 GB, free: 58.53 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005041/1.3, allocations: 2.977 MB / 0.7552 GB, free: 55.55 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005876/1.306, allocations: 6.066 MB / 0.7611 GB, free: 48.04 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/1.317, allocations: 9.675 MB / 0.7706 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001117/1.317, allocations: 36 kB / 0.7706 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of matching and sorting (n=890) (initialization): time 0.01713/1.334, allocations: 10.07 MB / 0.7804 GB, free: 26.73 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 8.734e-05/1.334, allocations: 48 kB / 0.7805 GB, free: 26.69 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001403/1.334, allocations: 112 kB / 0.7806 GB, free: 26.58 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002297/1.337, allocations: 0.9371 MB / 0.7815 GB, free: 25.62 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005615/1.342, allocations: 1.634 MB / 0.7831 GB, free: 23.99 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/1.352, allocations: 9.687 MB / 0.7926 GB, free: 13.99 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005169/1.358, allocations: 415.3 kB / 0.7929 GB, free: 13.59 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001008/1.359, allocations: 371.9 kB / 0.7933 GB, free: 13.22 MB / 0.5262 GB 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.007543/1.366, allocations: 4.305 MB / 0.7975 GB, free: 8.902 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002269/1.368, allocations: 0.5356 MB / 0.798 GB, free: 8.363 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/1.38, allocations: 6.609 MB / 0.8045 GB, free: 1.707 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/1.38, allocations: 44 kB / 0.8045 GB, free: 1.664 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.789e-05/1.38, allocations: 12 kB / 0.8045 GB, free: 1.652 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.858e-05/1.38, allocations: 23.86 kB / 0.8046 GB, free: 1.629 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03585/1.416, allocations: 13.76 MB / 0.818 GB, free: 3.832 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.951e-05/1.416, allocations: 4 kB / 0.818 GB, free: 3.828 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004353/1.421, allocations: 0.7806 MB / 0.8188 GB, free: 3.047 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002983/1.424, allocations: 0.7923 MB / 0.8195 GB, free: 2.238 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009512/1.424, allocations: 91.97 kB / 0.8196 GB, free: 2.148 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/1.439, allocations: 8.843 MB / 0.8283 GB, free: 9 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/1.439, allocations: 12 kB / 0.8283 GB, free: 8.988 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02191/1.46, allocations: 9.777 MB / 0.8378 GB, free: 15.09 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003855/1.464, allocations: 1.031 MB / 0.8388 GB, free: 14.06 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001765/1.466, allocations: 72 kB / 0.8389 GB, free: 13.99 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004093/1.47, allocations: 227.7 kB / 0.8391 GB, free: 13.77 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001084/1.471, allocations: 290.6 kB / 0.8394 GB, free: 13.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007864/1.472, allocations: 123.9 kB / 0.8395 GB, free: 13.36 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.009303/1.481, allocations: 3.195 MB / 0.8426 GB, free: 10.18 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.31e-07/1.481, allocations: 0 / 0.8426 GB, free: 10.18 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01457/1.496, allocations: 1.937 MB / 0.8445 GB, free: 8.238 MB / 0.573 GB 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.001525/1.497, allocations: 272.5 kB / 0.8448 GB, free: 7.965 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0179/1.515, allocations: 7.37 MB / 0.852 GB, free: 0.5586 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/1.515, allocations: 4 kB / 0.852 GB, free: 0.5547 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.2578/1.773, allocations: 3.25 MB / 0.8552 GB, free: 164.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006907/1.78, allocations: 1.27 MB / 0.8564 GB, free: 164.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03574/1.816, allocations: 20.46 MB / 0.8764 GB, free: 156.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01109/1.827, allocations: 7.033 MB / 0.8832 GB, free: 154.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.007155/1.834, allocations: 2.147 MB / 0.8853 GB, free: 154.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001573/1.836, allocations: 427.4 kB / 0.8857 GB, free: 154.2 MB / 0.573 GB Notification: Performance of SimCode: time 1.794e-06/1.836, allocations: 0 / 0.8857 GB, free: 154.2 MB / 0.573 GB Notification: Performance of Templates: time 0.1216/1.957, allocations: 68.65 MB / 0.9528 GB, free: 113 MB / 0.573 GB " [Timeout remaining time 658] 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: 9.718392750015482]