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.0007231/0.0007231, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009101/0.001633, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001757/0.001757, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001888/0.003645, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.005/1.005, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1006/1.106, allocations: 53.86 MB / 243.8 MB, free: 14.9 MB / 250.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.242/0.242, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02509/0.267, allocations: 13.23 MB / 292.6 MB, free: 6.461 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.313e-06/1.313e-06, allocations: 0 / 293.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159e-05/1.291e-05, allocations: 8.844 kB / 293.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.01592/0.01593, allocations: 21.58 MB / 315.5 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01275/0.02868, allocations: 6.908 MB / 322.4 MB, free: 8.492 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003335/0.03202, allocations: 182.9 kB / 322.6 MB, free: 8.312 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003235/0.03525, allocations: 1.564 MB / 324.2 MB, free: 6.738 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004872/0.04012, allocations: 2.194 MB / 326.4 MB, free: 4.531 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.04213, allocations: 1.323 MB / 327.7 MB, free: 3.207 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005664/0.0478, allocations: 6.888 MB / 334.6 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002998/0.05079, allocations: 3.097 MB / 337.7 MB, free: 9.086 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005653/0.05645, allocations: 5.298 MB / 343 MB, free: 3.734 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002952/0.0594, allocations: 3.211 MB / 346.2 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007123/0.06011, allocations: 0.8047 MB / 347 MB, free: 15.71 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.06141, allocations: 1.109 MB / 348.1 MB, free: 14.6 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001269/0.06268, allocations: 1.679 MB / 349.8 MB, free: 12.92 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001733/0.06442, allocations: 1.997 MB / 351.8 MB, free: 10.92 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004843/0.06926, allocations: 5.327 MB / 357.1 MB, free: 5.574 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.262e-05/0.06927, allocations: 0 / 357.1 MB, free: 5.574 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.06927, allocations: 0 / 357.1 MB, free: 5.574 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.621e-05/0.06935, allocations: 0 / 357.1 MB, free: 5.574 MB / 346.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.007834/0.07718, allocations: 7.975 MB / 365.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.07721, allocations: 8.922 kB / 365.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002629/0.07984, allocations: 1.468 MB / 366.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002926/0.08277, allocations: 2.44 MB / 369 MB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/0.08297, allocations: 403.1 kB / 369.4 MB, free: 9.109 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006168/0.08358, allocations: 0.5315 MB / 369.9 MB, free: 8.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004103/0.08768, allocations: 4.051 MB / 374 MB, free: 4.398 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.783e-05/0.08776, allocations: 11.95 kB / 374 MB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002876/0.08805, allocations: 223.9 kB / 374.2 MB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001545/0.0882, allocations: 262.6 kB / 374.5 MB, free: 3.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.09034, allocations: 1.605 MB / 376.1 MB, free: 2.289 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01444/0.1048, allocations: 14.26 MB / 390.3 MB, free: 3.504 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/0.1076, allocations: 2.357 MB / 392.7 MB, free: 1.141 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.1087, allocations: 0.9418 MB / 393.6 MB, free: 192 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004361/0.113, allocations: 2.945 MB / 396.6 MB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1131, allocations: 56.56 kB / 396.6 MB, free: 13.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=219): time 2.926e-06/0.1131, allocations: 4 kB / 396.6 MB, free: 13.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=239): time 0.00753/0.1206, allocations: 4.716 MB / 401.3 MB, free: 8.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.1206, allocations: 73.41 kB / 401.4 MB, free: 8.344 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.1221, allocations: 2.076 MB / 403.5 MB, free: 6.254 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.466e-05/0.1221, allocations: 65.7 kB / 403.6 MB, free: 6.184 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008139/0.123, allocations: 2.168 MB / 405.7 MB, free: 3.988 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000391/0.1234, allocations: 0.8559 MB / 406.6 MB, free: 3.125 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007437/0.1241, allocations: 0.5419 MB / 407.1 MB, free: 2.574 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.781e-05/0.1242, allocations: 305.1 kB / 407.4 MB, free: 2.273 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004543/0.1246, allocations: 350.7 kB / 407.8 MB, free: 1.926 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008394/0.1254, allocations: 1.348 MB / 409.1 MB, free: 128 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.127, allocations: 2.031 MB / 411.1 MB, free: 13.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.127, allocations: 8 kB / 411.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=405) (initialization): time 0.002248/0.1293, allocations: 2.062 MB / 413.2 MB, free: 11.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.1293, allocations: 16 kB / 413.2 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.1293, allocations: 32 kB / 413.3 MB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008101/0.1301, allocations: 353.2 kB / 413.6 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/0.1316, allocations: 0.7956 MB / 414.4 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003826/0.1355, allocations: 7.412 MB / 421.8 MB, free: 2.406 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008293/0.1363, allocations: 111.9 kB / 421.9 MB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.1364, allocations: 120 kB / 422 MB, free: 2.18 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.0007592/0.1372, allocations: 311.7 kB / 422.3 MB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003035/0.1375, allocations: 267.7 kB / 422.6 MB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/0.1395, allocations: 1.69 MB / 424.3 MB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.1395, allocations: 24 kB / 424.3 MB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.1395, allocations: 8 kB / 424.3 MB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.1395, allocations: 11.95 kB / 424.3 MB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005253/0.1448, allocations: 4.637 MB / 429 MB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.1448, allocations: 8.047 kB / 429 MB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009321/0.1457, allocations: 423.4 kB / 429.4 MB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005394/0.1462, allocations: 381.7 kB / 429.8 MB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000986/0.1472, allocations: 0.5757 MB / 430.3 MB, free: 9.641 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.662e-05/0.1473, allocations: 59.97 kB / 430.4 MB, free: 9.582 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1491/0.2964, allocations: 12.1 MB / 442.5 MB, free: 91.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/0.2964, allocations: 8.875 kB / 442.5 MB, free: 91.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002859/0.2993, allocations: 2.305 MB / 444.8 MB, free: 91.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003737/0.2997, allocations: 55.66 kB / 444.9 MB, free: 91.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006694/0.3003, allocations: 86.89 kB / 445 MB, free: 91.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002544/0.3006, allocations: 189.7 kB / 445.1 MB, free: 91.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.12e-05/0.3007, allocations: 59.55 kB / 445.2 MB, free: 91.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009576/0.3016, allocations: 1.039 MB / 446.2 MB, free: 91 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3016, allocations: 0 / 446.2 MB, free: 91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002266/0.3039, allocations: 0.9801 MB / 447.2 MB, free: 91 MB / 426.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.0003507/0.3043, allocations: 248.4 kB / 447.5 MB, free: 90.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002078/0.3063, allocations: 2.132 MB / 449.6 MB, free: 90.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-05/0.3064, allocations: 71.62 kB / 449.7 MB, free: 90.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001255/0.3077, allocations: 1.836 MB / 451.5 MB, free: 89.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.3094, allocations: 1.079 MB / 452.6 MB, free: 89.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03295/0.3423, allocations: 8.694 MB / 461.3 MB, free: 85.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009712/0.3433, allocations: 1.117 MB / 462.4 MB, free: 85.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001364/0.3446, allocations: 459.4 kB / 462.8 MB, free: 85.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/0.3459, allocations: 0.7803 MB / 463.6 MB, free: 85.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.192e-06/0.3459, allocations: 0 / 463.6 MB, free: 85.34 MB / 426.7 MB Notification: Performance of Templates: time 0.05384/0.3997, allocations: 49.95 MB / 0.5015 GB, free: 42.94 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.224334908649325]