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.001026/0.001026, allocations: 91.5 kB / 20.93 MB, free: 3.609 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.0009139/0.0009139, allocations: 156.5 kB / 24.23 MB, free: 324 kB / 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.9729/0.9729, allocations: 177 MB / 204.5 MB, free: 5.242 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.2779/0.2779, allocations: 34.87 MB / 295.8 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.633e-06/1.633e-06, allocations: 0 / 378.1 MB, free: 2.309 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.507e-05, allocations: 4.562 kB / 378.1 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.01711/0.01713, allocations: 22.15 MB / 400.2 MB, free: 12.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.02861, allocations: 6.59 MB / 406.8 MB, free: 5.438 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003628/0.03224, allocations: 182.9 kB / 407 MB, free: 5.258 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003337/0.03558, allocations: 1.513 MB / 408.5 MB, free: 3.734 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005586/0.04117, allocations: 2.193 MB / 410.7 MB, free: 1.527 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.04376, allocations: 1.336 MB / 412.1 MB, free: 196 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007091/0.05085, allocations: 6.869 MB / 418.9 MB, free: 9.293 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00455/0.0554, allocations: 3.026 MB / 422 MB, free: 6.184 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00676/0.06216, allocations: 4.589 MB / 426.5 MB, free: 1.586 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005018/0.06718, allocations: 3.324 MB / 429.9 MB, free: 14.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002041/0.06922, allocations: 0.8164 MB / 430.7 MB, free: 13.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002887/0.0721, allocations: 1.109 MB / 431.8 MB, free: 12.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001867/0.07397, allocations: 2.131 MB / 433.9 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003604/0.07758, allocations: 2.44 MB / 436.4 MB, free: 7.746 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007014/0.08459, allocations: 5.716 MB / 442.1 MB, free: 2.012 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.361e-06/0.0846, allocations: 0 / 442.1 MB, free: 2.012 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.0846, allocations: 0 / 442.1 MB, free: 2.012 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000182/0.08478, allocations: 0 / 442.1 MB, free: 2.012 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.1601/0.2449, allocations: 7.315 MB / 449.4 MB, free: 100.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2449, allocations: 8.531 kB / 449.4 MB, free: 100.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003715/0.2486, allocations: 1.674 MB / 451.1 MB, free: 100.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004679/0.2533, allocations: 3.605 MB / 454.7 MB, free: 98.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.2535, allocations: 406.2 kB / 455.1 MB, free: 98.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005889/0.2541, allocations: 0.5259 MB / 455.6 MB, free: 98.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005924/0.26, allocations: 4.319 MB / 459.9 MB, free: 96.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/0.2601, allocations: 16.73 kB / 459.9 MB, free: 96.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003127/0.2604, allocations: 221.6 kB / 460.2 MB, free: 96.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001768/0.2606, allocations: 260.3 kB / 460.4 MB, free: 96.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004101/0.2647, allocations: 2.045 MB / 462.5 MB, free: 95.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02039/0.2851, allocations: 18.1 MB / 480.6 MB, free: 85.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003779/0.2889, allocations: 2.706 MB / 483.3 MB, free: 84.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001822/0.2907, allocations: 1.154 MB / 484.4 MB, free: 84.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006447/0.2972, allocations: 3.856 MB / 488.3 MB, free: 82.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.2972, allocations: 56.58 kB / 488.3 MB, free: 81.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=220): time 4.057e-06/0.2972, allocations: 0 / 488.3 MB, free: 81.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=240): time 0.01166/0.3089, allocations: 6.098 MB / 494.4 MB, free: 79.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.3089, allocations: 82.11 kB / 494.5 MB, free: 79.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003263/0.3122, allocations: 2.487 MB / 497 MB, free: 76.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001409/0.3123, allocations: 65.7 kB / 497.1 MB, free: 76.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001294/0.3136, allocations: 2.717 MB / 499.8 MB, free: 74.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000532/0.3141, allocations: 0.8861 MB / 0.4889 GB, free: 73.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006256/0.3148, allocations: 0.5747 MB / 0.4895 GB, free: 73.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.064e-05/0.3148, allocations: 477.3 kB / 0.4899 GB, free: 72.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008886/0.3157, allocations: 470.3 kB / 0.4904 GB, free: 72.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.317, allocations: 1.923 MB / 0.4923 GB, free: 69.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002294/0.3193, allocations: 2.644 MB / 0.4948 GB, free: 66.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-05/0.3193, allocations: 8 kB / 0.4949 GB, free: 66.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=406) (initialization): time 0.003966/0.3233, allocations: 2.842 MB / 0.4976 GB, free: 63.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.3233, allocations: 20 kB / 0.4977 GB, free: 63.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.474e-05/0.3233, allocations: 28 kB / 0.4977 GB, free: 63.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007595/0.3241, allocations: 373.2 kB / 0.498 GB, free: 63.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.3255, allocations: 0.7382 MB / 0.4988 GB, free: 62.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003932/0.3294, allocations: 10.56 MB / 0.5091 GB, free: 51.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.3313, allocations: 175.8 kB / 0.5092 GB, free: 51.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/0.3314, allocations: 148 kB / 0.5094 GB, free: 51.61 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.001169/0.3326, allocations: 363.5 kB / 0.5097 GB, free: 51.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004834/0.3331, allocations: 409.8 kB / 0.5101 GB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002806/0.3359, allocations: 2.215 MB / 0.5123 GB, free: 48.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.3359, allocations: 24 kB / 0.5123 GB, free: 48.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/0.3359, allocations: 8 kB / 0.5123 GB, free: 48.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.3359, allocations: 11.95 kB / 0.5123 GB, free: 48.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007357/0.3433, allocations: 5.973 MB / 0.5181 GB, free: 42.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.3433, allocations: 4 kB / 0.5182 GB, free: 42.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009042/0.3442, allocations: 404 kB / 0.5185 GB, free: 42.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001109/0.3453, allocations: 0.5521 MB / 0.5191 GB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.3455, allocations: 71.97 kB / 0.5191 GB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006348/0.3518, allocations: 17.3 MB / 0.536 GB, free: 23.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3518, allocations: 4 kB / 0.536 GB, free: 23.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004475/0.3563, allocations: 3.041 MB / 0.539 GB, free: 19.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.3574, allocations: 0.5796 MB / 0.5396 GB, free: 19.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003541/0.3578, allocations: 59.98 kB / 0.5396 GB, free: 19.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008427/0.3586, allocations: 127.9 kB / 0.5398 GB, free: 19.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003255/0.359, allocations: 189.5 kB / 0.5399 GB, free: 19.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-05/0.359, allocations: 71.98 kB / 0.54 GB, free: 18.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001617/0.3607, allocations: 1.373 MB / 0.5413 GB, free: 17.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3607, allocations: 4 kB / 0.5414 GB, free: 17.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00259/0.3632, allocations: 0.9921 MB / 0.5423 GB, free: 16.58 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.0004452/0.3637, allocations: 264.7 kB / 0.5426 GB, free: 16.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003072/0.3668, allocations: 2.757 MB / 0.5453 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.3668, allocations: 1.938 kB / 0.5453 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001863/0.3686, allocations: 2.491 MB / 0.5477 GB, free: 10.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/0.3709, allocations: 0.8448 MB / 0.5485 GB, free: 10.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.3812, allocations: 8.717 MB / 0.557 GB, free: 1.148 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.3823, allocations: 1.29 MB / 0.5583 GB, free: 15.83 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001628/0.3839, allocations: 0.6526 MB / 0.5589 GB, free: 15.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005057/0.3845, allocations: 232.4 kB / 0.5592 GB, free: 14.95 MB / 426.7 MB Notification: Performance of SimCode: time 1.443e-06/0.3845, allocations: 0 / 0.5592 GB, free: 14.95 MB / 426.7 MB Notification: Performance of Templates: time 0.05791/0.4424, allocations: 45.06 MB / 0.6032 GB, free: 2.441 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.752560339868069]