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.000928/0.000928, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009176/0.0009176, allocations: 156.5 kB / 24.55 MB, free: 20 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.9039/0.9039, allocations: 177 MB / 204.8 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.251/0.251, 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.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.533e-06/1.533e-06, allocations: 0 / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.358e-05, allocations: 2.312 kB / 378.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.01734/0.01736, allocations: 22.27 MB / 401.1 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.02857, allocations: 6.609 MB / 407.7 MB, free: 4.988 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004695/0.03327, allocations: 182.9 kB / 407.9 MB, free: 4.809 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004398/0.03766, allocations: 1.517 MB / 409.4 MB, free: 3.281 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006786/0.04445, allocations: 2.193 MB / 411.6 MB, free: 1.074 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003355/0.04781, allocations: 1.333 MB / 413 MB, free: 15.74 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007772/0.05558, allocations: 6.861 MB / 419.8 MB, free: 8.848 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004014/0.05959, allocations: 3.034 MB / 422.9 MB, free: 5.73 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007022/0.06661, allocations: 4.589 MB / 427.5 MB, free: 1.133 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005117/0.07173, allocations: 3.324 MB / 430.8 MB, free: 13.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001854/0.07359, allocations: 0.8125 MB / 431.6 MB, free: 12.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002823/0.07641, allocations: 1.105 MB / 432.7 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002116/0.07852, allocations: 2.135 MB / 434.8 MB, free: 9.742 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003666/0.08219, allocations: 2.436 MB / 437.3 MB, free: 7.301 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007615/0.08981, allocations: 5.716 MB / 443 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.08981, allocations: 8 kB / 443 MB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.08981, allocations: 0 / 443 MB, free: 1.559 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000217/0.09003, allocations: 4 kB / 443 MB, free: 1.555 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.1628/0.2528, allocations: 7.307 MB / 450.3 MB, free: 72.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.2529, allocations: 9.156 kB / 450.3 MB, free: 72.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003405/0.2563, allocations: 1.682 MB / 452 MB, free: 72.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005494/0.2618, allocations: 3.59 MB / 455.6 MB, free: 71.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000245/0.262, allocations: 407.5 kB / 456 MB, free: 71.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007092/0.2627, allocations: 0.5308 MB / 456.5 MB, free: 71.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006952/0.2697, allocations: 4.322 MB / 460.8 MB, free: 71.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001281/0.2698, allocations: 10.17 kB / 460.8 MB, free: 71.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003083/0.2701, allocations: 224.4 kB / 461.1 MB, free: 70.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001819/0.2703, allocations: 260.3 kB / 461.3 MB, free: 70.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004189/0.2745, allocations: 2.05 MB / 463.4 MB, free: 70.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02005/0.2945, allocations: 18.1 MB / 481.5 MB, free: 59.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003716/0.2982, allocations: 2.706 MB / 484.2 MB, free: 59.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/0.3, allocations: 1.148 MB / 485.3 MB, free: 58.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007565/0.3075, allocations: 3.867 MB / 489.2 MB, free: 56.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/0.3076, allocations: 67.36 kB / 489.3 MB, free: 56.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=220): time 5.731e-06/0.3076, allocations: 0 / 489.3 MB, free: 56.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=240): time 0.01465/0.3222, allocations: 6.095 MB / 495.3 MB, free: 54.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.3223, allocations: 74.91 kB / 495.4 MB, free: 54.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00392/0.3262, allocations: 2.48 MB / 497.9 MB, free: 53.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002868/0.3265, allocations: 67.55 kB / 498 MB, free: 53.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001698/0.3282, allocations: 2.714 MB / 0.4889 GB, free: 51.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007689/0.329, allocations: 0.8826 MB / 0.4898 GB, free: 50.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007947/0.3297, allocations: 0.5809 MB / 0.4904 GB, free: 50.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.873e-05/0.3298, allocations: 480.8 kB / 0.4908 GB, free: 49.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/0.3309, allocations: 468.9 kB / 0.4913 GB, free: 49.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/0.3327, allocations: 1.923 MB / 0.4932 GB, free: 47.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003092/0.3357, allocations: 2.638 MB / 0.4957 GB, free: 45.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.74e-05/0.3358, allocations: 10 kB / 0.4957 GB, free: 45.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=406) (initialization): time 0.005471/0.3412, allocations: 2.842 MB / 0.4985 GB, free: 44.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.3413, allocations: 20 kB / 0.4985 GB, free: 44.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.006e-05/0.3413, allocations: 36.03 kB / 0.4986 GB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.3424, allocations: 366.2 kB / 0.4989 GB, free: 44.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.3445, allocations: 0.7332 MB / 0.4996 GB, free: 43.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00527/0.3498, allocations: 10.56 MB / 0.5099 GB, free: 33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/0.3521, allocations: 192.2 kB / 0.5101 GB, free: 32.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002531/0.3523, allocations: 135.3 kB / 0.5103 GB, free: 32.72 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 (377): * Single equations (assignments): 370 * 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.001326/0.3537, allocations: 366.1 kB / 0.5106 GB, free: 32.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007223/0.3544, allocations: 413.7 kB / 0.511 GB, free: 31.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003806/0.3582, allocations: 2.202 MB / 0.5132 GB, free: 30.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.3582, allocations: 20 kB / 0.5132 GB, free: 30.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/0.3582, allocations: 12 kB / 0.5132 GB, free: 30.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.3583, allocations: 11.62 kB / 0.5132 GB, free: 30.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01106/0.3693, allocations: 5.977 MB / 0.519 GB, free: 25.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.3693, allocations: 7.984 kB / 0.519 GB, free: 25.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/0.3709, allocations: 398.1 kB / 0.5194 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002092/0.373, allocations: 0.554 MB / 0.52 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002936/0.3733, allocations: 62.7 kB / 0.52 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01142/0.3847, allocations: 17.31 MB / 0.5369 GB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.3847, allocations: 11.56 kB / 0.5369 GB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007048/0.3918, allocations: 3.043 MB / 0.5399 GB, free: 3.531 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001933/0.3937, allocations: 0.5679 MB / 0.5405 GB, free: 2.961 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007111/0.3944, allocations: 63.92 kB / 0.5405 GB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001795/0.3962, allocations: 131.9 kB / 0.5406 GB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000474/0.3967, allocations: 191.5 kB / 0.5408 GB, free: 2.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/0.3969, allocations: 75.97 kB / 0.5409 GB, free: 2.512 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002959/0.3998, allocations: 1.373 MB / 0.5422 GB, free: 1.141 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3998, allocations: 0 / 0.5422 GB, free: 1.141 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00418/0.404, allocations: 0.9921 MB / 0.5432 GB, free: 152 kB / 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 (198): * Single equations (assignments): 190 * 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%), (2,1,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.0005103/0.4045, allocations: 267.2 kB / 0.5435 GB, free: 15.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003617/0.4081, allocations: 2.742 MB / 0.5461 GB, free: 13.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.4081, allocations: 8.062 kB / 0.5462 GB, free: 13.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002131/0.4103, allocations: 2.5 MB / 0.5486 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/0.4126, allocations: 0.8442 MB / 0.5494 GB, free: 9.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.4231, allocations: 8.713 MB / 0.5579 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.4241, allocations: 1.291 MB / 0.5592 GB, free: 15.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001293/0.4254, allocations: 0.6487 MB / 0.5598 GB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004263/0.4258, allocations: 236.5 kB / 0.56 GB, free: 14.71 MB / 442.7 MB Notification: Performance of SimCode: time 1.834e-06/0.4258, allocations: 0 / 0.56 GB, free: 14.71 MB / 442.7 MB Notification: Performance of Templates: time 0.05312/0.4789, allocations: 45.07 MB / 0.6041 GB, free: 2.312 MB / 474.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 -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.736963790841401]