Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.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.00142/0.00142, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001494/0.001494, allocations: 160.6 kB / 24.91 MB, free: 8.727 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.016/1.016, allocations: 177 MB / 205.2 MB, free: 5.477 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.2545/0.2545, allocations: 34.86 MB / 296.6 MB, free: 0.5117 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.SMPM_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 326 MB, free: 7.047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.3e-05, allocations: 2.969 kB / 326 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.01625/0.01627, allocations: 21.47 MB / 347.5 MB, free: 1.484 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01303/0.0293, allocations: 6.853 MB / 354.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003633/0.03294, allocations: 178.9 kB / 354.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004204/0.03714, allocations: 1.556 MB / 356.1 MB, free: 8.867 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006827/0.04397, allocations: 2.204 MB / 358.3 MB, free: 6.648 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.04705, allocations: 1.324 MB / 359.6 MB, free: 5.324 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007645/0.0547, allocations: 6.865 MB / 366.5 MB, free: 14.43 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004929/0.05963, allocations: 3.093 MB / 369.6 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007916/0.06755, allocations: 4.909 MB / 374.5 MB, free: 6.312 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005119/0.07266, allocations: 3.223 MB / 377.7 MB, free: 3.082 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002054/0.07472, allocations: 0.7969 MB / 378.5 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002988/0.07771, allocations: 1.097 MB / 379.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002111/0.07982, allocations: 2.068 MB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003976/0.08379, allocations: 2.397 MB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006755/0.09055, allocations: 5.642 MB / 389.7 MB, free: 7.051 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.09055, allocations: 0 / 389.7 MB, free: 7.051 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.09055, allocations: 0 / 389.7 MB, free: 7.051 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002385/0.09079, allocations: 3.938 kB / 389.7 MB, free: 7.047 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01075/0.1015, allocations: 6.677 MB / 396.4 MB, free: 312 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1016, allocations: 8.031 kB / 396.4 MB, free: 304 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003433/0.105, allocations: 1.456 MB / 397.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004511/0.1095, allocations: 2.447 MB / 400.3 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003113/0.1098, allocations: 407.1 kB / 400.7 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006248/0.1105, allocations: 0.5315 MB / 401.2 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004984/0.1154, allocations: 4.049 MB / 405.3 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.1155, allocations: 15.92 kB / 405.3 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003032/0.1159, allocations: 224 kB / 405.5 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001832/0.116, allocations: 262.6 kB / 405.8 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002993/0.119, allocations: 1.605 MB / 407.4 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01827/0.1373, allocations: 14.2 MB / 421.6 MB, free: 6.367 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002709/0.14, allocations: 2.346 MB / 423.9 MB, free: 4.012 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.1411, allocations: 0.9379 MB / 424.9 MB, free: 3.066 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00511/0.1462, allocations: 2.947 MB / 427.8 MB, free: 88 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/0.1463, allocations: 68.5 kB / 427.9 MB, free: 8 kB / 394.7 MB Notification: Performance of pre-optimization done (n=219): time 4.198e-06/0.1463, allocations: 0 / 427.9 MB, free: 8 kB / 394.7 MB Notification: Performance of matching and sorting (n=239): time 0.008364/0.1547, allocations: 4.691 MB / 432.6 MB, free: 11.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.1547, allocations: 81.39 kB / 432.6 MB, free: 11.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/0.1566, allocations: 2.08 MB / 434.7 MB, free: 9.137 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001792/0.1568, allocations: 65.7 kB / 434.8 MB, free: 9.066 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001139/0.1579, allocations: 2.165 MB / 437 MB, free: 6.875 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005225/0.1584, allocations: 0.8559 MB / 437.8 MB, free: 6.012 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005281/0.159, allocations: 0.5419 MB / 438.3 MB, free: 5.461 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.526e-05/0.159, allocations: 301.1 kB / 438.6 MB, free: 5.164 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005085/0.1595, allocations: 354.6 kB / 439 MB, free: 4.812 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000902/0.1604, allocations: 1.356 MB / 440.3 MB, free: 3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/0.1624, allocations: 2.027 MB / 442.4 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.676e-05/0.1624, allocations: 8 kB / 442.4 MB, free: 500 kB / 410.7 MB Notification: Performance of matching and sorting (n=405) (initialization): time 0.1586/0.321, allocations: 2.06 MB / 444.4 MB, free: 86.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/0.3211, allocations: 19.19 kB / 444.5 MB, free: 86.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-05/0.3211, allocations: 31.56 kB / 444.5 MB, free: 86.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000854/0.322, allocations: 340.2 kB / 444.8 MB, free: 86.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002114/0.3241, allocations: 0.7474 MB / 445.6 MB, free: 86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004096/0.3282, allocations: 7.396 MB / 453 MB, free: 79.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/0.3302, allocations: 123.1 kB / 453.1 MB, free: 79.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/0.3305, allocations: 112.2 kB / 453.2 MB, free: 79.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * 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 (376): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(3,12,100.0%), (1,6,100.0%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001194/0.3316, allocations: 326.5 kB / 453.5 MB, free: 79.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005117/0.3322, allocations: 269.4 kB / 453.8 MB, free: 79.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/0.3346, allocations: 1.676 MB / 455.5 MB, free: 79.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.3346, allocations: 26.66 kB / 455.5 MB, free: 79.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/0.3346, allocations: 6.812 kB / 455.5 MB, free: 79.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.3346, allocations: 14.86 kB / 455.5 MB, free: 79.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007114/0.3418, allocations: 4.628 MB / 460.1 MB, free: 78.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.3418, allocations: 5.625 kB / 460.1 MB, free: 78.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009853/0.3427, allocations: 394 kB / 460.5 MB, free: 78.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.3439, allocations: 0.5643 MB / 461.1 MB, free: 78.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001557/0.3441, allocations: 71.75 kB / 461.2 MB, free: 78.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005721/0.3498, allocations: 12.12 MB / 473.3 MB, free: 68.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.3498, allocations: 6.969 kB / 473.3 MB, free: 68.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002999/0.3528, allocations: 2.307 MB / 475.6 MB, free: 67.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009024/0.3537, allocations: 381.5 kB / 476 MB, free: 67.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003384/0.3541, allocations: 60.42 kB / 476 MB, free: 67.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007546/0.3548, allocations: 89.73 kB / 476.1 MB, free: 67.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003558/0.3552, allocations: 188 kB / 476.3 MB, free: 67.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.374e-05/0.3553, allocations: 57.03 kB / 476.3 MB, free: 67.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001244/0.3565, allocations: 1.045 MB / 477.4 MB, free: 67.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3565, allocations: 0 / 477.4 MB, free: 67.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002896/0.3594, allocations: 0.9818 MB / 478.4 MB, free: 67.83 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 13 (vfController.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpmE.inertiaRotor.w,smpmE.idq_sr[1],smpmE.idq_sr[2],smpmE.idq_rr[2],smpmE.idq_dr[1],loadInertiaM.phi,loadInertiaE.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 (197): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,5,100.0%), (3,12,100.0%), (1,6,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,8,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004991/0.3599, allocations: 240.6 kB / 478.6 MB, free: 67.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002579/0.3625, allocations: 2.124 MB / 480.7 MB, free: 66.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.635e-05/0.3626, allocations: 43.84 kB / 480.8 MB, free: 66.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001694/0.3643, allocations: 1.839 MB / 482.6 MB, free: 64.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/0.3669, allocations: 0.8349 MB / 483.4 MB, free: 64.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.3786, allocations: 8.271 MB / 491.7 MB, free: 57.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/0.3799, allocations: 1.086 MB / 492.8 MB, free: 56.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001504/0.3814, allocations: 461.2 kB / 493.3 MB, free: 55.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/0.3827, allocations: 0.7788 MB / 494 MB, free: 55.28 MB / 410.7 MB Notification: Performance of SimCode: time 5.931e-06/0.3827, allocations: 4 kB / 494 MB, free: 55.27 MB / 410.7 MB Notification: Performance of Templates: time 0.05751/0.4402, allocations: 47.54 MB / 0.5289 GB, free: 9.172 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.318941438104957]