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.002577/0.002577, allocations: 80.34 kB / 20.67 MB, free: 3.887 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.002985/0.002985, allocations: 168.8 kB / 23.95 MB, free: 0.6016 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.562/1.562, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] 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.3723/0.3723, allocations: 34.85 MB / 295.4 MB, free: 0.5508 MB / 266.7 MB " [Timeout remaining time 179] 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.363e-06/1.363e-06, allocations: 0 / 443.6 MB, free: 440 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.383e-05, allocations: 2.281 kB / 443.6 MB, free: 436 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.2019/0.202, allocations: 19.45 MB / 463.1 MB, free: 31.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.2144, allocations: 6.398 MB / 469.5 MB, free: 26.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005732/0.2201, allocations: 174.2 kB / 469.6 MB, free: 26.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005164/0.2253, allocations: 1.513 MB / 471.1 MB, free: 26.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007481/0.2327, allocations: 2.188 MB / 473.3 MB, free: 24.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004137/0.2369, allocations: 1.327 MB / 474.7 MB, free: 23.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008136/0.245, allocations: 6.848 MB / 481.5 MB, free: 20.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004339/0.2493, allocations: 3.019 MB / 484.5 MB, free: 18.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006645/0.256, allocations: 4.538 MB / 489.1 MB, free: 16.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005182/0.2612, allocations: 3.037 MB / 492.1 MB, free: 15.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002097/0.2633, allocations: 0.8143 MB / 492.9 MB, free: 15.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003429/0.2667, allocations: 1.103 MB / 494 MB, free: 15.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002077/0.2688, allocations: 2.098 MB / 496.1 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006349/0.2751, allocations: 2.413 MB / 498.5 MB, free: 12.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01508/0.2902, allocations: 10.96 MB / 0.4976 GB, free: 8.344 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2902, allocations: 0 / 0.4976 GB, free: 8.344 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2902, allocations: 0 / 0.4976 GB, free: 8.344 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003745/0.2906, allocations: 0 / 0.4976 GB, free: 8.344 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.0205/0.3111, allocations: 6.969 MB / 0.5044 GB, free: 3.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3111, allocations: 8.906 kB / 0.5044 GB, free: 3.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005387/0.3165, allocations: 1.095 MB / 0.5054 GB, free: 3.105 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008415/0.3249, allocations: 3.677 MB / 0.509 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003728/0.3253, allocations: 403.4 kB / 0.5094 GB, free: 376 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001793/0.3271, allocations: 0.5217 MB / 0.5099 GB, free: 192 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02088/0.348, allocations: 7.298 MB / 0.517 GB, free: 9.324 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001851/0.3482, allocations: 15.88 kB / 0.5171 GB, free: 9.309 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008307/0.349, allocations: 221 kB / 0.5173 GB, free: 9.094 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004489/0.3494, allocations: 262.6 kB / 0.5175 GB, free: 8.836 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01726/0.3667, allocations: 5.937 MB / 0.5233 GB, free: 2.887 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05243/0.4191, allocations: 19.16 MB / 0.542 GB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00764/0.4268, allocations: 3.724 MB / 0.5457 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004123/0.4309, allocations: 2.102 MB / 0.5477 GB, free: 9.602 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01209/0.443, allocations: 5.199 MB / 0.5528 GB, free: 4.359 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.874e-05/0.443, allocations: 57.31 kB / 0.5529 GB, free: 4.297 MB / 458.7 MB Notification: Performance of pre-optimization done (n=220): time 4.048e-06/0.443, allocations: 4 kB / 0.5529 GB, free: 4.293 MB / 458.7 MB Notification: Performance of matching and sorting (n=240): time 0.02671/0.4697, allocations: 10.22 MB / 0.5628 GB, free: 10.07 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.409e-05/0.4698, allocations: 77.41 kB / 0.5629 GB, free: 9.98 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005378/0.4752, allocations: 2.835 MB / 0.5657 GB, free: 7.133 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004176/0.4756, allocations: 61.7 kB / 0.5657 GB, free: 7.066 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002606/0.4782, allocations: 2.594 MB / 0.5683 GB, free: 4.449 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001044/0.4793, allocations: 0.8638 MB / 0.5691 GB, free: 3.578 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/0.4804, allocations: 0.55 MB / 0.5697 GB, free: 3.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4805, allocations: 305.1 kB / 0.5699 GB, free: 2.719 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002563/0.4831, allocations: 1.341 MB / 0.5713 GB, free: 1.375 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003728/0.4868, allocations: 2.364 MB / 0.5736 GB, free: 14.56 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006467/0.4933, allocations: 3.924 MB / 0.5774 GB, free: 10.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.936e-05/0.4933, allocations: 15.94 kB / 0.5774 GB, free: 10.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=406) (initialization): time 0.009393/0.5027, allocations: 4.55 MB / 0.5819 GB, free: 5.523 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.5027, allocations: 20.12 kB / 0.5819 GB, free: 5.504 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.645e-05/0.5028, allocations: 35.94 kB / 0.5819 GB, free: 5.469 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.5042, allocations: 0.5499 MB / 0.5824 GB, free: 4.898 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002895/0.5071, allocations: 0.7332 MB / 0.5832 GB, free: 4.164 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/0.5184, allocations: 9.748 MB / 0.5927 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002792/0.5211, allocations: 183.8 kB / 0.5929 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002929/0.5214, allocations: 140 kB / 0.593 GB, free: 9.594 MB / 0.4948 GB 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.003371/0.5248, allocations: 1.582 MB / 0.5945 GB, free: 8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007876/0.5256, allocations: 329.9 kB / 0.5948 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007952/0.5335, allocations: 3.802 MB / 0.5986 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/0.5336, allocations: 24 kB / 0.5986 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/0.5336, allocations: 8 kB / 0.5986 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.527e-05/0.5336, allocations: 11.95 kB / 0.5986 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01716/0.5508, allocations: 7.553 MB / 0.606 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.572e-05/0.5508, allocations: 7.938 kB / 0.606 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001955/0.5528, allocations: 399.4 kB / 0.6064 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002184/0.5549, allocations: 0.7485 MB / 0.6071 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004483/0.5554, allocations: 71.91 kB / 0.6072 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01915/0.5745, allocations: 15.77 MB / 0.6226 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.5746, allocations: 4 kB / 0.6226 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/0.5853, allocations: 5.599 MB / 0.628 GB, free: 4.582 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001976/0.5873, allocations: 0.5992 MB / 0.6286 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004612/0.5878, allocations: 59.92 kB / 0.6287 GB, free: 3.922 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/0.5894, allocations: 139.8 kB / 0.6288 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004711/0.5899, allocations: 197.5 kB / 0.629 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001732/0.59, allocations: 71.98 kB / 0.6291 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003323/0.5934, allocations: 1.857 MB / 0.6309 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5934, allocations: 4 kB / 0.6309 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003843/0.5972, allocations: 0.9882 MB / 0.6319 GB, free: 0.6758 MB / 0.5261 GB 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.0006447/0.5978, allocations: 268.7 kB / 0.6321 GB, free: 416 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2056/0.8035, allocations: 3.862 MB / 0.6359 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.8035, allocations: 6.156 kB / 0.6359 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003575/0.807, allocations: 2.651 MB / 0.6385 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003937/0.811, allocations: 0.8126 MB / 0.6393 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/0.8262, allocations: 9.791 MB / 0.6488 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002812/0.829, allocations: 2.904 MB / 0.6517 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002397/0.8314, allocations: 0.7622 MB / 0.6524 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00064/0.8321, allocations: 233.5 kB / 0.6526 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of SimCode: time 9.82e-07/0.8321, allocations: 0 / 0.6526 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.06999/0.9021, allocations: 44.76 MB / 0.6963 GB, free: 123.4 MB / 0.5261 GB " [Timeout remaining time 659] 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: 7.648630791110918]