Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.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.0008858/0.0008858, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0009047/0.0009047, allocations: 168.1 kB / 24.82 MB, free: 9.277 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.8855/0.8855, allocations: 177 MB / 205.1 MB, free: 5.473 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.2336/0.2336, allocations: 34.86 MB / 296.6 MB, free: 0.5039 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.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 379.3 MB, free: 1.762 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.389e-05, allocations: 2.875 kB / 379.3 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.03025/0.03026, allocations: 16.55 MB / 395.9 MB, free: 1.129 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01154/0.0418, allocations: 5.589 MB / 401.4 MB, free: 11.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.04311, allocations: 127.2 kB / 401.6 MB, free: 11.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.04516, allocations: 1.266 MB / 402.8 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002491/0.04765, allocations: 1.684 MB / 404.5 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.04895, allocations: 1.091 MB / 405.6 MB, free: 7.332 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003618/0.05256, allocations: 5.419 MB / 411 MB, free: 1.895 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001938/0.0545, allocations: 2.231 MB / 413.3 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002966/0.05747, allocations: 3.724 MB / 417 MB, free: 11.84 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001854/0.05932, allocations: 2.498 MB / 419.5 MB, free: 9.34 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000469/0.05979, allocations: 0.6055 MB / 420.1 MB, free: 8.734 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009315/0.06072, allocations: 0.8354 MB / 420.9 MB, free: 7.898 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007378/0.06146, allocations: 1.472 MB / 422.4 MB, free: 6.422 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.06283, allocations: 1.797 MB / 424.2 MB, free: 4.621 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002919/0.06575, allocations: 4.252 MB / 428.4 MB, free: 364 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.06576, allocations: 7.922 kB / 428.5 MB, free: 356 kB / 394.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.06576, allocations: 0 / 428.5 MB, free: 356 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.672e-05/0.06578, allocations: 0 / 428.5 MB, free: 356 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.00568/0.07146, allocations: 5.508 MB / 434 MB, free: 10.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.0715, allocations: 12.03 kB / 434 MB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002618/0.07411, allocations: 1.383 MB / 435.4 MB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002844/0.07696, allocations: 2.729 MB / 438.1 MB, free: 6.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.0771, allocations: 304.5 kB / 438.4 MB, free: 6.289 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003477/0.07745, allocations: 400.1 kB / 438.8 MB, free: 5.898 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002982/0.08043, allocations: 2.944 MB / 441.7 MB, free: 2.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-05/0.08049, allocations: 11.88 kB / 441.7 MB, free: 2.809 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/0.08071, allocations: 168 kB / 441.9 MB, free: 2.645 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.08082, allocations: 164 kB / 442.1 MB, free: 2.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.08244, allocations: 1.206 MB / 443.3 MB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1413/0.2237, allocations: 13.4 MB / 456.7 MB, free: 72.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.2258, allocations: 2.253 MB / 458.9 MB, free: 72.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.2272, allocations: 1.217 MB / 460.1 MB, free: 72.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00331/0.2305, allocations: 3.153 MB / 463.3 MB, free: 70.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.2305, allocations: 55.89 kB / 463.3 MB, free: 70.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=157): time 2.815e-06/0.2305, allocations: 0 / 463.3 MB, free: 70.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.003915/0.2344, allocations: 3.004 MB / 466.3 MB, free: 69.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.928e-05/0.2345, allocations: 67.81 kB / 466.4 MB, free: 69.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.2356, allocations: 1.818 MB / 468.2 MB, free: 69.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.747e-05/0.2357, allocations: 56.02 kB / 468.3 MB, free: 68.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006386/0.2363, allocations: 2.04 MB / 470.3 MB, free: 67.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.2365, allocations: 0.5893 MB / 470.9 MB, free: 67.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003377/0.2369, allocations: 431.3 kB / 471.3 MB, free: 67.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.063e-05/0.2369, allocations: 476.8 kB / 471.8 MB, free: 66.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.2372, allocations: 238.5 kB / 472 MB, free: 66.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005154/0.2377, allocations: 1.289 MB / 473.3 MB, free: 65.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009952/0.2387, allocations: 1.704 MB / 475 MB, free: 63.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/0.2387, allocations: 9.938 kB / 475 MB, free: 63.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.001601/0.2403, allocations: 1.711 MB / 476.7 MB, free: 63.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.2403, allocations: 15.19 kB / 476.8 MB, free: 63.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.2404, allocations: 25.16 kB / 476.8 MB, free: 63.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001992/0.2406, allocations: 125.8 kB / 476.9 MB, free: 63.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008819/0.2414, allocations: 0.4983 MB / 477.4 MB, free: 63.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000911/0.2423, allocations: 2.369 MB / 479.8 MB, free: 61.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006405/0.243, allocations: 89.89 kB / 479.9 MB, free: 61.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.932e-05/0.2431, allocations: 85 kB / 480 MB, free: 61.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004769/0.2436, allocations: 301.4 kB / 480.2 MB, free: 61.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/0.2438, allocations: 292.3 kB / 480.5 MB, free: 60.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.2451, allocations: 1.284 MB / 481.8 MB, free: 60.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.2451, allocations: 15.38 kB / 481.8 MB, free: 60.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2451, allocations: 11 kB / 481.8 MB, free: 60.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.2451, allocations: 12.81 kB / 481.9 MB, free: 60.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003567/0.2487, allocations: 3.26 MB / 485.1 MB, free: 59.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.2487, allocations: 1.188 kB / 485.1 MB, free: 59.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006248/0.2493, allocations: 270 kB / 485.4 MB, free: 59.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005204/0.2498, allocations: 276.2 kB / 485.6 MB, free: 59.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.716e-05/0.2499, allocations: 40.3 kB / 485.7 MB, free: 59.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002892/0.2528, allocations: 7.246 MB / 492.9 MB, free: 52.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2528, allocations: 1.688 kB / 492.9 MB, free: 52.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.2548, allocations: 1.75 MB / 494.7 MB, free: 51.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000435/0.2552, allocations: 377.5 kB / 495.1 MB, free: 51.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.2554, allocations: 34.47 kB / 495.1 MB, free: 51.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004558/0.2558, allocations: 66.84 kB / 495.2 MB, free: 51.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.256, allocations: 118.8 kB / 495.3 MB, free: 51.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.744e-05/0.256, allocations: 40.44 kB / 495.3 MB, free: 51.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007531/0.2568, allocations: 0.9404 MB / 496.2 MB, free: 51.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2568, allocations: 1.859 kB / 496.3 MB, free: 51.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001502/0.2583, allocations: 0.6713 MB / 496.9 MB, free: 51.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002415/0.2585, allocations: 178.3 kB / 497.1 MB, free: 51.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.2598, allocations: 1.222 MB / 498.3 MB, free: 50.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2598, allocations: 1.375 kB / 498.3 MB, free: 50.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008199/0.2606, allocations: 1.142 MB / 499.5 MB, free: 50.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.2618, allocations: 0.5213 MB / 500 MB, free: 49.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006098/0.2679, allocations: 6.099 MB / 0.4942 GB, free: 46.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000637/0.2686, allocations: 0.9388 MB / 0.4951 GB, free: 46.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007286/0.2693, allocations: 319.3 kB / 0.4954 GB, free: 46.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008578/0.2702, allocations: 0.5951 MB / 0.496 GB, free: 46.35 MB / 410.7 MB Notification: Performance of SimCode: time 6.52e-07/0.2702, allocations: 0 / 0.496 GB, free: 46.35 MB / 410.7 MB Notification: Performance of Templates: time 0.038/0.3082, allocations: 31.82 MB / 0.5271 GB, free: 22.9 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.667832801118493]