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.0008879/0.0008879, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0008874/0.0008874, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.9402/0.9402, allocations: 177 MB / 205.2 MB, free: 5.574 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.2352/0.2352, allocations: 34.86 MB / 296.6 MB, free: 0.5391 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.603e-06/1.603e-06, allocations: 0 / 378.9 MB, free: 2.309 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.848e-05, allocations: 2.312 kB / 378.9 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.0178/0.01783, allocations: 22.15 MB / 401 MB, free: 12.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01105/0.02889, allocations: 6.593 MB / 407.6 MB, free: 5.445 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002305/0.03119, allocations: 178.9 kB / 407.8 MB, free: 5.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002671/0.03386, allocations: 1.517 MB / 409.3 MB, free: 3.742 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004368/0.03823, allocations: 2.193 MB / 411.5 MB, free: 1.535 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002739/0.04097, allocations: 1.341 MB / 412.8 MB, free: 196 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007344/0.04831, allocations: 6.866 MB / 419.7 MB, free: 9.297 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004067/0.05238, allocations: 3.03 MB / 422.7 MB, free: 6.184 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005653/0.05803, allocations: 4.585 MB / 427.3 MB, free: 1.59 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003878/0.06191, allocations: 3.324 MB / 430.6 MB, free: 14.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001338/0.06325, allocations: 0.8164 MB / 431.4 MB, free: 13.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.06496, allocations: 1.105 MB / 432.5 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001406/0.06636, allocations: 2.131 MB / 434.7 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002583/0.06894, allocations: 2.444 MB / 437.1 MB, free: 7.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006057/0.075, allocations: 5.708 MB / 442.8 MB, free: 2.023 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.07501, allocations: 4 kB / 442.8 MB, free: 2.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.07501, allocations: 0 / 442.8 MB, free: 2.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001082/0.07512, allocations: 0 / 442.8 MB, free: 2.02 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.1469/0.222, allocations: 7.316 MB / 450.2 MB, free: 100.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.222, allocations: 11.06 kB / 450.2 MB, free: 100.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003332/0.2254, allocations: 1.67 MB / 451.8 MB, free: 100.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004362/0.2297, allocations: 3.602 MB / 455.4 MB, free: 98.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002364/0.23, allocations: 403.6 kB / 455.8 MB, free: 98.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006443/0.2306, allocations: 0.5291 MB / 456.4 MB, free: 98.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007276/0.2379, allocations: 4.323 MB / 460.7 MB, free: 96.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001221/0.238, allocations: 9.703 kB / 460.7 MB, free: 96.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004055/0.2384, allocations: 217.5 kB / 460.9 MB, free: 96.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002103/0.2386, allocations: 259 kB / 461.2 MB, free: 96.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005174/0.2438, allocations: 2.053 MB / 463.2 MB, free: 96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02187/0.2657, allocations: 18.11 MB / 481.3 MB, free: 85.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004535/0.2702, allocations: 2.699 MB / 484 MB, free: 84.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002115/0.2723, allocations: 1.155 MB / 485.2 MB, free: 84.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006548/0.2789, allocations: 3.849 MB / 489 MB, free: 82.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.2789, allocations: 64.05 kB / 489.1 MB, free: 82.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=220): time 4.098e-06/0.2789, allocations: 0 / 489.1 MB, free: 82.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=240): time 0.009752/0.2887, allocations: 6.101 MB / 495.2 MB, free: 79.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.2887, allocations: 77.41 kB / 495.3 MB, free: 79.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/0.2911, allocations: 2.484 MB / 497.7 MB, free: 76.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.2912, allocations: 69.7 kB / 497.8 MB, free: 76.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001105/0.2924, allocations: 2.713 MB / 0.4888 GB, free: 74.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004239/0.2928, allocations: 0.8824 MB / 0.4897 GB, free: 73.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005603/0.2933, allocations: 0.5784 MB / 0.4902 GB, free: 73.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.648e-05/0.2934, allocations: 481.4 kB / 0.4907 GB, free: 72.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008201/0.2942, allocations: 470.7 kB / 0.4911 GB, free: 72.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.2954, allocations: 1.926 MB / 0.493 GB, free: 69.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002182/0.2976, allocations: 2.637 MB / 0.4956 GB, free: 66.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.47e-05/0.2976, allocations: 8 kB / 0.4956 GB, free: 66.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=406) (initialization): time 0.003637/0.3013, allocations: 2.842 MB / 0.4984 GB, free: 64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.3013, allocations: 20 kB / 0.4984 GB, free: 63.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.897e-05/0.3013, allocations: 36 kB / 0.4984 GB, free: 63.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007264/0.3021, allocations: 370.9 kB / 0.4988 GB, free: 63.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.3035, allocations: 0.7309 MB / 0.4995 GB, free: 63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003705/0.3072, allocations: 10.55 MB / 0.5098 GB, free: 51.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/0.3088, allocations: 183.7 kB / 0.51 GB, free: 51.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/0.309, allocations: 144 kB / 0.5101 GB, free: 51.66 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.001226/0.3102, allocations: 367.4 kB / 0.5105 GB, free: 51.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004207/0.3106, allocations: 413.8 kB / 0.5109 GB, free: 50.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002835/0.3135, allocations: 2.208 MB / 0.513 GB, free: 48.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.3135, allocations: 24 kB / 0.513 GB, free: 48.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.3135, allocations: 15.94 kB / 0.513 GB, free: 48.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.3135, allocations: 15.95 kB / 0.5131 GB, free: 48.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006936/0.3205, allocations: 5.974 MB / 0.5189 GB, free: 42.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.3205, allocations: 4 kB / 0.5189 GB, free: 42.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00092/0.3214, allocations: 395.4 kB / 0.5193 GB, free: 42.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/0.3225, allocations: 0.5509 MB / 0.5198 GB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.3226, allocations: 67.95 kB / 0.5199 GB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006044/0.3287, allocations: 17.3 MB / 0.5368 GB, free: 23.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.3287, allocations: 11.94 kB / 0.5368 GB, free: 23.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00374/0.3324, allocations: 3.035 MB / 0.5397 GB, free: 20 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008264/0.3332, allocations: 0.5756 MB / 0.5403 GB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000281/0.3335, allocations: 56 kB / 0.5404 GB, free: 19.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008162/0.3343, allocations: 135.9 kB / 0.5405 GB, free: 19.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002957/0.3346, allocations: 189.5 kB / 0.5407 GB, free: 19.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.236e-05/0.3347, allocations: 75.91 kB / 0.5407 GB, free: 18.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001368/0.3361, allocations: 1.373 MB / 0.5421 GB, free: 17.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3361, allocations: 4 kB / 0.5421 GB, free: 17.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002251/0.3384, allocations: 0.9921 MB / 0.5431 GB, free: 16.61 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 (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.0003997/0.3388, allocations: 264.8 kB / 0.5433 GB, free: 16.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002735/0.3415, allocations: 2.754 MB / 0.546 GB, free: 13.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3415, allocations: 4 kB / 0.546 GB, free: 13.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001737/0.3432, allocations: 2.485 MB / 0.5484 GB, free: 10.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/0.3452, allocations: 0.8513 MB / 0.5493 GB, free: 10.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009544/0.3547, allocations: 8.716 MB / 0.5578 GB, free: 1.184 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009062/0.3556, allocations: 1.282 MB / 0.559 GB, free: 15.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001382/0.357, allocations: 0.6564 MB / 0.5597 GB, free: 15.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004528/0.3575, allocations: 232.5 kB / 0.5599 GB, free: 14.99 MB / 426.7 MB Notification: Performance of SimCode: time 1.342e-06/0.3575, allocations: 0 / 0.5599 GB, free: 14.99 MB / 426.7 MB Notification: Performance of Templates: time 0.05515/0.4126, allocations: 45.07 MB / 0.6039 GB, free: 2.477 MB / 458.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.4202346100937575]