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.00158/0.00158, allocations: 85.91 kB / 22.22 MB, free: 2.277 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.002126/0.002126, allocations: 155.9 kB / 25.61 MB, free: 8.531 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 0.9436/0.9436, allocations: 177 MB / 205.9 MB, free: 4.449 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.1481/0.1481, allocations: 34.87 MB / 297.4 MB, free: 13.32 MB / 282.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.573e-06/1.573e-06, allocations: 0 / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.797e-05, allocations: 2.969 kB / 380.1 MB, free: 22.63 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.01549/0.01552, allocations: 21.38 MB / 401.5 MB, free: 1.164 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01198/0.0275, allocations: 6.564 MB / 408 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003507/0.03101, allocations: 178.9 kB / 408.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003042/0.03405, allocations: 1.521 MB / 409.7 MB, free: 8.871 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005186/0.03923, allocations: 2.196 MB / 411.9 MB, free: 6.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.04161, allocations: 1.336 MB / 413.3 MB, free: 5.324 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006785/0.0484, allocations: 6.864 MB / 420.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003671/0.05207, allocations: 3.03 MB / 423.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006847/0.05891, allocations: 4.932 MB / 428.1 MB, free: 6.379 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004395/0.06331, allocations: 3.215 MB / 431.3 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001319/0.06463, allocations: 0.8008 MB / 432.1 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.06641, allocations: 1.081 MB / 433.2 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001363/0.06777, allocations: 2.06 MB / 435.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002898/0.07067, allocations: 2.405 MB / 437.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007414/0.07808, allocations: 5.634 MB / 443.3 MB, free: 7.145 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.07809, allocations: 4 kB / 443.3 MB, free: 7.141 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.07809, allocations: 3.938 kB / 443.3 MB, free: 7.137 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000235/0.07832, allocations: 3.938 kB / 443.3 MB, free: 7.133 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.01107/0.08939, allocations: 7.049 MB / 450.4 MB, free: 8 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.08943, allocations: 8.031 kB / 450.4 MB, free: 0 / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003411/0.09284, allocations: 1.609 MB / 452 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005248/0.09809, allocations: 3.484 MB / 455.5 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002522/0.09834, allocations: 407.1 kB / 455.9 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008703/0.09921, allocations: 0.5276 MB / 456.4 MB, free: 9.891 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005642/0.1049, allocations: 3.965 MB / 460.3 MB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-05/0.105, allocations: 15.92 kB / 460.4 MB, free: 5.766 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003211/0.1053, allocations: 216 kB / 460.6 MB, free: 5.555 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001765/0.1055, allocations: 262.6 kB / 460.8 MB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002683/0.1081, allocations: 1.621 MB / 462.5 MB, free: 3.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02307/0.1312, allocations: 17.78 MB / 480.2 MB, free: 1.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003003/0.1342, allocations: 2.579 MB / 482.8 MB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.1355, allocations: 1.026 MB / 483.8 MB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005901/0.1414, allocations: 3.602 MB / 487.4 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.1414, allocations: 59.39 kB / 487.5 MB, free: 10.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=219): time 3.917e-06/0.1414, allocations: 0 / 487.5 MB, free: 10.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=239): time 0.009087/0.1505, allocations: 4.911 MB / 492.4 MB, free: 5.285 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.1505, allocations: 73.41 kB / 492.5 MB, free: 5.203 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002277/0.1528, allocations: 2.399 MB / 494.9 MB, free: 2.777 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000136/0.1529, allocations: 65.7 kB / 494.9 MB, free: 2.707 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.165/0.3179, allocations: 2.744 MB / 497.7 MB, free: 85.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001126/0.3191, allocations: 0.885 MB / 498.6 MB, free: 85.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006938/0.3198, allocations: 0.5943 MB / 499.2 MB, free: 85.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.521e-05/0.3198, allocations: 476.8 kB / 499.6 MB, free: 85.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005092/0.3203, allocations: 355.2 kB / 500 MB, free: 85.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.3215, allocations: 1.825 MB / 0.49 GB, free: 83.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.3232, allocations: 2.455 MB / 0.4924 GB, free: 81.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-05/0.3232, allocations: 6.688 kB / 0.4924 GB, free: 81.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=405) (initialization): time 0.00408/0.3273, allocations: 2.581 MB / 0.495 GB, free: 81.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.3273, allocations: 16.53 kB / 0.495 GB, free: 81.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.972e-05/0.3274, allocations: 33.38 kB / 0.495 GB, free: 81.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008575/0.3282, allocations: 367.8 kB / 0.4954 GB, free: 81.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.3297, allocations: 0.6772 MB / 0.496 GB, free: 81.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004036/0.3337, allocations: 10.31 MB / 0.5061 GB, free: 72.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.3355, allocations: 117.5 kB / 0.5062 GB, free: 72.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002536/0.3357, allocations: 122.4 kB / 0.5063 GB, free: 72.12 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.001305/0.337, allocations: 365.2 kB / 0.5067 GB, free: 71.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000852/0.3379, allocations: 414 kB / 0.5071 GB, free: 71.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002556/0.3404, allocations: 1.989 MB / 0.509 GB, free: 71.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.3405, allocations: 28.81 kB / 0.509 GB, free: 71.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/0.3405, allocations: 7.219 kB / 0.509 GB, free: 71.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.3405, allocations: 13.88 kB / 0.5091 GB, free: 71.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007486/0.348, allocations: 5.711 MB / 0.5146 GB, free: 70.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.348, allocations: 6.453 kB / 0.5146 GB, free: 70.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008549/0.3488, allocations: 369.5 kB / 0.515 GB, free: 70.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/0.3499, allocations: 0.5161 MB / 0.5155 GB, free: 70.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/0.35, allocations: 69.8 kB / 0.5156 GB, free: 70.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006167/0.3562, allocations: 16.87 MB / 0.532 GB, free: 55.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.3562, allocations: 8.188 kB / 0.532 GB, free: 55.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004103/0.3603, allocations: 2.743 MB / 0.5347 GB, free: 54.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.3614, allocations: 0.5191 MB / 0.5352 GB, free: 54.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002875/0.3617, allocations: 57.47 kB / 0.5353 GB, free: 54.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000748/0.3624, allocations: 89.94 kB / 0.5354 GB, free: 54.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003114/0.3627, allocations: 191.5 kB / 0.5356 GB, free: 54.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.07e-05/0.3628, allocations: 51.39 kB / 0.5356 GB, free: 54.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001203/0.364, allocations: 1.248 MB / 0.5368 GB, free: 53.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.364, allocations: 4 kB / 0.5368 GB, free: 53.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002905/0.3669, allocations: 0.9777 MB / 0.5378 GB, free: 52.47 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.0004326/0.3674, allocations: 260.2 kB / 0.538 GB, free: 52.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002514/0.3699, allocations: 2.551 MB / 0.5405 GB, free: 50.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3699, allocations: 4 kB / 0.5405 GB, free: 50.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001593/0.3715, allocations: 2.356 MB / 0.5428 GB, free: 48.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/0.3736, allocations: 0.8336 MB / 0.5436 GB, free: 47.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009765/0.3834, allocations: 8.616 MB / 0.5521 GB, free: 39.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009439/0.3843, allocations: 1.291 MB / 0.5533 GB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001411/0.3858, allocations: 456.6 kB / 0.5538 GB, free: 38.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/0.387, allocations: 0.8727 MB / 0.5546 GB, free: 37.33 MB / 410.7 MB Notification: Performance of SimCode: time 2.034e-06/0.387, allocations: 0 / 0.5546 GB, free: 37.33 MB / 410.7 MB Notification: Performance of Templates: time 0.06176/0.4487, allocations: 48.27 MB / 0.6017 GB, free: 5.781 MB / 426.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.680597449652851]