Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_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.001429/0.001429, allocations: 88.28 kB / 21.44 MB, free: 3.109 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.001668/0.001668, allocations: 154.9 kB / 24.7 MB, free: 9.438 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.9839/0.9839, allocations: 177 MB / 204.9 MB, free: 5.719 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.2887/0.2887, allocations: 34.86 MB / 296.2 MB, free: 0.5234 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.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.817e-06/3.817e-06, allocations: 4 kB / 443.7 MB, free: 1.137 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.29e-05/3.672e-05, allocations: 6.281 kB / 443.7 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.2806/0.2806, allocations: 18.22 MB / 461.9 MB, free: 32.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01374/0.2943, allocations: 5.94 MB / 467.8 MB, free: 28.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004986/0.2993, allocations: 177.1 kB / 468 MB, free: 28.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004348/0.3037, allocations: 1.376 MB / 469.4 MB, free: 27.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006864/0.3105, allocations: 2.033 MB / 471.4 MB, free: 26.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003624/0.3142, allocations: 1.264 MB / 472.7 MB, free: 25.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.007236/0.3214, allocations: 6.422 MB / 479.1 MB, free: 21.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004071/0.3255, allocations: 2.937 MB / 482 MB, free: 20.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00706/0.3325, allocations: 4.303 MB / 486.3 MB, free: 18.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00475/0.3373, allocations: 2.904 MB / 489.2 MB, free: 17.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002143/0.3394, allocations: 0.7776 MB / 490 MB, free: 17.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003858/0.3433, allocations: 1.066 MB / 491.1 MB, free: 17.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002358/0.3456, allocations: 2.013 MB / 493.1 MB, free: 15.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007621/0.3533, allocations: 2.29 MB / 495.4 MB, free: 14.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0157/0.369, allocations: 10.49 MB / 0.494 GB, free: 11.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.369, allocations: 0 / 0.494 GB, free: 11.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.369, allocations: 0 / 0.494 GB, free: 11.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004296/0.3694, allocations: 4 kB / 0.494 GB, free: 11.12 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: 1347 * Number of variables: 1347 Notification: Performance of Generate backend data structure: time 0.01968/0.3891, allocations: 6.638 MB / 0.5005 GB, free: 6.738 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.3891, allocations: 12 kB / 0.5005 GB, free: 6.738 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004488/0.3936, allocations: 1.03 MB / 0.5015 GB, free: 6.223 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006978/0.4006, allocations: 3.523 MB / 0.505 GB, free: 3.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002694/0.4009, allocations: 386.6 kB / 0.5053 GB, free: 3.594 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001597/0.4025, allocations: 0.5066 MB / 0.5058 GB, free: 3.414 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01369/0.4162, allocations: 7.003 MB / 0.5127 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001264/0.4163, allocations: 19.83 kB / 0.5127 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008023/0.4171, allocations: 210.7 kB / 0.5129 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001835/0.4173, allocations: 250.1 kB / 0.5131 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01151/0.4288, allocations: 5.744 MB / 0.5187 GB, free: 8.082 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03593/0.4647, allocations: 18.05 MB / 0.5364 GB, free: 5.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004833/0.4695, allocations: 3.691 MB / 0.54 GB, free: 2.113 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002543/0.4721, allocations: 2.039 MB / 0.542 GB, free: 72 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008184/0.4803, allocations: 4.988 MB / 0.5468 GB, free: 11.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.4803, allocations: 56.56 kB / 0.5469 GB, free: 10.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=205): time 3.316e-06/0.4803, allocations: 0 / 0.5469 GB, free: 10.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=222): time 0.01604/0.4964, allocations: 9.55 MB / 0.5562 GB, free: 1.406 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.4964, allocations: 77.41 kB / 0.5563 GB, free: 1.316 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003422/0.4998, allocations: 2.621 MB / 0.5588 GB, free: 14.67 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004248/0.5003, allocations: 65.7 kB / 0.5589 GB, free: 14.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.5014, allocations: 2.44 MB / 0.5613 GB, free: 12.14 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007508/0.5022, allocations: 0.7979 MB / 0.5621 GB, free: 11.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007328/0.5029, allocations: 0.5101 MB / 0.5626 GB, free: 10.82 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.606e-05/0.503, allocations: 301.1 kB / 0.5629 GB, free: 10.52 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.5046, allocations: 1.271 MB / 0.5641 GB, free: 9.246 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/0.5065, allocations: 2.2 MB / 0.5662 GB, free: 6.641 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003533/0.5101, allocations: 3.67 MB / 0.5698 GB, free: 2.574 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.825e-05/0.5101, allocations: 8 kB / 0.5698 GB, free: 2.566 MB / 474.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.005318/0.5154, allocations: 4.298 MB / 0.574 GB, free: 14.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/0.5154, allocations: 26.81 kB / 0.5741 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/0.5155, allocations: 28 kB / 0.5741 GB, free: 14.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007855/0.5162, allocations: 0.525 MB / 0.5746 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.5177, allocations: 0.6864 MB / 0.5753 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006179/0.5239, allocations: 9.65 MB / 0.5847 GB, free: 2.797 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/0.5263, allocations: 171.7 kB / 0.5849 GB, free: 2.629 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000271/0.5266, allocations: 132 kB / 0.585 GB, free: 2.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * 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 (345): * Single equations (assignments): 338 * 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,11,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.002973/0.5296, allocations: 1.52 MB / 0.5865 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007194/0.5303, allocations: 306 kB / 0.5868 GB, free: 0.668 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004837/0.5351, allocations: 3.624 MB / 0.5903 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.5351, allocations: 27.94 kB / 0.5903 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.5351, allocations: 8 kB / 0.5903 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.5352, allocations: 15.95 kB / 0.5904 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/0.5453, allocations: 7.139 MB / 0.5973 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.5453, allocations: 4 kB / 0.5973 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009154/0.5462, allocations: 383.9 kB / 0.5977 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/0.5475, allocations: 0.7365 MB / 0.5984 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.5476, allocations: 71.91 kB / 0.5985 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/0.5579, allocations: 15.61 MB / 0.6137 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.5579, allocations: 8.031 kB / 0.6137 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006793/0.5647, allocations: 5.313 MB / 0.6189 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001759/0.5665, allocations: 0.5641 MB / 0.6195 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004595/0.5669, allocations: 56.11 kB / 0.6195 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009217/0.5678, allocations: 139.9 kB / 0.6197 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003742/0.5682, allocations: 169.5 kB / 0.6198 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.5683, allocations: 75.91 kB / 0.6199 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002337/0.5706, allocations: 1.722 MB / 0.6216 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5706, allocations: 0 / 0.6216 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003729/0.5744, allocations: 0.9296 MB / 0.6225 GB, free: 11.01 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (vfController.x,smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smrE.inertiaRotor.w,smrE.idq_sr[1],smrE.idq_sr[2],smrE.idq_dr[1],smrE.idq_dr[2],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 (182): * Single equations (assignments): 174 * 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,11,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006287/0.575, allocations: 263.5 kB / 0.6227 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00483/0.5798, allocations: 3.689 MB / 0.6263 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.5798, allocations: 0 / 0.6263 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002827/0.5827, allocations: 2.564 MB / 0.6288 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003161/0.5858, allocations: 0.7089 MB / 0.6295 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2066/0.7925, allocations: 9.317 MB / 0.6386 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00241/0.7949, allocations: 2.716 MB / 0.6413 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/0.796, allocations: 239.6 kB / 0.6415 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of SimCode: time 2.184e-06/0.796, allocations: 0 / 0.6415 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.4333/1.229, allocations: 252.3 MB / 0.8879 GB, free: 150.4 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 12.192576016299427]