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.001372/0.001372, allocations: 75.69 kB / 21.7 MB, free: 2.844 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.001635/0.001635, allocations: 163.8 kB / 24.99 MB, free: 9.281 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.9598/0.9598, allocations: 177 MB / 205.2 MB, free: 5.602 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.2606/0.2606, allocations: 34.85 MB / 296.6 MB, free: 0.5664 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.002e-06/1.002e-06, allocations: 0 / 378.1 MB, free: 3.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.747e-05, allocations: 2.312 kB / 378.1 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.01766/0.01768, allocations: 22.16 MB / 400.2 MB, free: 12.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.0283, allocations: 6.59 MB / 406.8 MB, free: 6.223 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002367/0.03066, allocations: 178.9 kB / 407 MB, free: 6.047 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002482/0.03315, allocations: 1.517 MB / 408.5 MB, free: 4.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00362/0.03677, allocations: 2.2 MB / 410.7 MB, free: 2.305 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.03865, allocations: 1.333 MB / 412 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005781/0.04443, allocations: 6.865 MB / 418.9 MB, free: 10.08 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003508/0.04793, allocations: 3.03 MB / 421.9 MB, free: 6.969 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005053/0.05299, allocations: 4.585 MB / 426.5 MB, free: 2.375 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003699/0.05669, allocations: 3.328 MB / 429.8 MB, free: 15.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001039/0.05773, allocations: 0.8125 MB / 430.7 MB, free: 14.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.05927, allocations: 1.116 MB / 431.8 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001266/0.06054, allocations: 2.127 MB / 433.9 MB, free: 10.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002648/0.06318, allocations: 2.44 MB / 436.3 MB, free: 8.531 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005539/0.06872, allocations: 5.712 MB / 442 MB, free: 2.801 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.06873, allocations: 4 kB / 442 MB, free: 2.797 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.06873, allocations: 0 / 442 MB, free: 2.797 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.307e-05/0.06882, allocations: 0 / 442 MB, free: 2.797 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.1516/0.2205, allocations: 7.306 MB / 449.4 MB, free: 100.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2205, allocations: 13.25 kB / 449.4 MB, free: 100.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003247/0.2237, allocations: 1.676 MB / 451 MB, free: 99.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004561/0.2283, allocations: 3.608 MB / 454.7 MB, free: 98.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.2285, allocations: 400.4 kB / 455 MB, free: 97.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005217/0.229, allocations: 0.5314 MB / 455.6 MB, free: 97.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006265/0.2353, allocations: 4.322 MB / 459.9 MB, free: 96.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001008/0.2354, allocations: 10.98 kB / 459.9 MB, free: 96.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003081/0.2357, allocations: 218.2 kB / 460.1 MB, free: 95.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001817/0.2359, allocations: 259.2 kB / 460.4 MB, free: 95.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004125/0.24, allocations: 2.052 MB / 462.4 MB, free: 95.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01858/0.2586, allocations: 18.11 MB / 480.5 MB, free: 84.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003755/0.2623, allocations: 2.697 MB / 483.2 MB, free: 84.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.264, allocations: 1.164 MB / 484.4 MB, free: 83.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005776/0.2698, allocations: 3.84 MB / 488.2 MB, free: 81.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.2698, allocations: 64.83 kB / 488.3 MB, free: 81.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=220): time 7.955e-06/0.2698, allocations: 0 / 488.3 MB, free: 81.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=240): time 0.009779/0.2796, allocations: 6.104 MB / 494.4 MB, free: 79.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.2797, allocations: 77.41 kB / 494.5 MB, free: 79.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002453/0.2821, allocations: 2.484 MB / 497 MB, free: 77.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-05/0.2822, allocations: 65.7 kB / 497 MB, free: 76.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001085/0.2833, allocations: 2.717 MB / 499.7 MB, free: 74.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004372/0.2837, allocations: 0.886 MB / 0.4889 GB, free: 73.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005754/0.2843, allocations: 0.5749 MB / 0.4895 GB, free: 73.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.64e-05/0.2843, allocations: 477.3 kB / 0.4899 GB, free: 72.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008055/0.2851, allocations: 470.5 kB / 0.4904 GB, free: 72.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.2863, allocations: 1.922 MB / 0.4922 GB, free: 69.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/0.2884, allocations: 2.64 MB / 0.4948 GB, free: 66.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/0.2884, allocations: 8 kB / 0.4948 GB, free: 66.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=406) (initialization): time 0.003438/0.2919, allocations: 2.846 MB / 0.4976 GB, free: 64.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.2919, allocations: 16 kB / 0.4976 GB, free: 64.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.199e-05/0.2919, allocations: 32 kB / 0.4976 GB, free: 63.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007152/0.2927, allocations: 374.1 kB / 0.498 GB, free: 63.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.2941, allocations: 0.7284 MB / 0.4987 GB, free: 63.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003798/0.2979, allocations: 10.57 MB / 0.509 GB, free: 52.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.2991, allocations: 183.7 kB / 0.5092 GB, free: 51.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.2993, allocations: 144 kB / 0.5093 GB, free: 51.78 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.000884/0.3001, allocations: 359.5 kB / 0.5097 GB, free: 51.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003628/0.3005, allocations: 413.8 kB / 0.5101 GB, free: 51.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/0.3032, allocations: 2.207 MB / 0.5122 GB, free: 48.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.3032, allocations: 24 kB / 0.5123 GB, free: 48.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.3032, allocations: 15.94 kB / 0.5123 GB, free: 48.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.3032, allocations: 11.95 kB / 0.5123 GB, free: 48.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006649/0.3099, allocations: 5.97 MB / 0.5181 GB, free: 42.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.3099, allocations: 8 kB / 0.5181 GB, free: 42.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008851/0.3108, allocations: 403.4 kB / 0.5185 GB, free: 42.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001078/0.3119, allocations: 0.5526 MB / 0.5191 GB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.312, allocations: 67.97 kB / 0.5191 GB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00594/0.3179, allocations: 17.3 MB / 0.536 GB, free: 23.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3179, allocations: 4 kB / 0.536 GB, free: 23.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003739/0.3216, allocations: 3.038 MB / 0.539 GB, free: 20.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009908/0.3226, allocations: 0.5719 MB / 0.5395 GB, free: 19.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/0.3229, allocations: 55.98 kB / 0.5396 GB, free: 19.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007749/0.3237, allocations: 131.9 kB / 0.5397 GB, free: 19.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002672/0.3239, allocations: 189.5 kB / 0.5399 GB, free: 19.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.952e-05/0.324, allocations: 75.92 kB / 0.54 GB, free: 19.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001351/0.3254, allocations: 1.373 MB / 0.5413 GB, free: 17.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3254, allocations: 0 / 0.5413 GB, free: 17.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002329/0.3277, allocations: 0.9921 MB / 0.5423 GB, free: 16.75 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.00039/0.3281, allocations: 268.5 kB / 0.5425 GB, free: 16.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002854/0.331, allocations: 2.758 MB / 0.5452 GB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.331, allocations: 0 / 0.5452 GB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001693/0.3326, allocations: 2.492 MB / 0.5477 GB, free: 11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.3346, allocations: 0.8506 MB / 0.5485 GB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009474/0.344, allocations: 8.728 MB / 0.557 GB, free: 1.305 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001983/0.346, allocations: 2.654 MB / 0.5596 GB, free: 14.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006826/0.3467, allocations: 256.4 kB / 0.5599 GB, free: 14.37 MB / 426.7 MB Notification: Performance of SimCode: time 1.683e-06/0.3467, allocations: 0 / 0.5599 GB, free: 14.37 MB / 426.7 MB Notification: Performance of Templates: time 0.4134/0.7601, allocations: 266.9 MB / 0.8205 GB, free: 131.1 MB / 474.7 MB " [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 > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.761748328106478]