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.001465/0.001465, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.00165/0.00165, allocations: 166.9 kB / 24.99 MB, free: 8.215 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.028/1.028, allocations: 177 MB / 205.2 MB, free: 5.102 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.2848/0.2848, allocations: 34.87 MB / 296.6 MB, free: 0.5352 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.964e-06/1.964e-06, allocations: 0 / 378.1 MB, free: 3.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.862e-05/3.059e-05, allocations: 2.312 kB / 378.1 MB, free: 3.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01729/0.01732, allocations: 17.1 MB / 395.2 MB, free: 1.93 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007497/0.02482, allocations: 5.62 MB / 400.8 MB, free: 12.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.02595, allocations: 131.2 kB / 400.9 MB, free: 12.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.02785, allocations: 1.254 MB / 402.2 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0023/0.03015, allocations: 1.692 MB / 403.8 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.03143, allocations: 1.094 MB / 404.9 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004034/0.03546, allocations: 5.419 MB / 410.4 MB, free: 2.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002024/0.03748, allocations: 2.231 MB / 412.6 MB, free: 348 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002528/0.04001, allocations: 3.365 MB / 416 MB, free: 12.97 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/0.04191, allocations: 2.416 MB / 418.4 MB, free: 10.55 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004857/0.0424, allocations: 0.6133 MB / 419 MB, free: 9.934 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000891/0.04329, allocations: 0.8433 MB / 419.8 MB, free: 9.09 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008161/0.0441, allocations: 1.492 MB / 421.3 MB, free: 7.594 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.04533, allocations: 1.812 MB / 423.1 MB, free: 5.777 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003187/0.04852, allocations: 4.295 MB / 427.4 MB, free: 1.469 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.04852, allocations: 4 kB / 427.4 MB, free: 1.465 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.04852, allocations: 0 / 427.4 MB, free: 1.465 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.009e-05/0.04855, allocations: 4 kB / 427.4 MB, free: 1.461 MB / 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.00656/0.05511, allocations: 5.693 MB / 433.1 MB, free: 11.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.05515, allocations: 8.031 kB / 433.1 MB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/0.05831, allocations: 1.528 MB / 434.7 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/0.06145, allocations: 2.858 MB / 437.5 MB, free: 7.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.0616, allocations: 308.5 kB / 437.8 MB, free: 6.941 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003807/0.06198, allocations: 403.7 kB / 438.2 MB, free: 6.551 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004171/0.06616, allocations: 3.195 MB / 441.4 MB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.243e-05/0.06622, allocations: 7.953 kB / 441.4 MB, free: 3.215 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/0.06647, allocations: 164 kB / 441.6 MB, free: 3.055 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/0.06658, allocations: 176 kB / 441.8 MB, free: 2.879 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003037/0.06962, allocations: 1.526 MB / 443.3 MB, free: 1.328 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1448/0.2144, allocations: 13.5 MB / 456.8 MB, free: 92.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002713/0.2171, allocations: 2.423 MB / 459.2 MB, free: 91.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/0.2188, allocations: 1.318 MB / 460.5 MB, free: 91.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003912/0.2227, allocations: 3.244 MB / 463.8 MB, free: 89.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.2228, allocations: 52.67 kB / 463.8 MB, free: 89.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=157): time 2.806e-06/0.2228, allocations: 0 / 463.8 MB, free: 89.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.005421/0.2282, allocations: 3.758 MB / 467.6 MB, free: 88.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.2282, allocations: 72.08 kB / 467.6 MB, free: 88.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.2298, allocations: 1.864 MB / 469.5 MB, free: 87.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.711e-05/0.2299, allocations: 52.73 kB / 469.6 MB, free: 87.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007033/0.2306, allocations: 2.024 MB / 471.6 MB, free: 86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002589/0.2309, allocations: 0.5929 MB / 472.2 MB, free: 85.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003764/0.2312, allocations: 424.5 kB / 472.6 MB, free: 85.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.103e-05/0.2313, allocations: 480.8 kB / 473.1 MB, free: 84.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004933/0.2318, allocations: 306.4 kB / 473.4 MB, free: 84.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007766/0.2326, allocations: 1.345 MB / 474.7 MB, free: 83.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.234, allocations: 1.825 MB / 476.5 MB, free: 81.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.234, allocations: 6.062 kB / 476.5 MB, free: 81.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002154/0.2362, allocations: 1.862 MB / 478.4 MB, free: 81.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.2362, allocations: 15.66 kB / 478.4 MB, free: 81.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.2362, allocations: 20.94 kB / 478.4 MB, free: 81.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002638/0.2365, allocations: 133.7 kB / 478.6 MB, free: 81.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.2375, allocations: 0.5259 MB / 479.1 MB, free: 81.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.2385, allocations: 2.406 MB / 481.5 MB, free: 78.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006854/0.2392, allocations: 104 kB / 481.6 MB, free: 78.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-05/0.2393, allocations: 105.1 kB / 481.7 MB, free: 78.78 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.000516/0.2398, allocations: 296.3 kB / 482 MB, free: 78.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002668/0.2401, allocations: 293 kB / 482.3 MB, free: 78.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/0.2419, allocations: 1.409 MB / 483.7 MB, free: 77.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.242, allocations: 15.34 kB / 483.7 MB, free: 77.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.242, allocations: 6.344 kB / 483.7 MB, free: 77.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.242, allocations: 16.34 kB / 483.7 MB, free: 77.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004751/0.2467, allocations: 4.058 MB / 487.8 MB, free: 75.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.2467, allocations: 2.312 kB / 487.8 MB, free: 75.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006726/0.2474, allocations: 276.4 kB / 488 MB, free: 75.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006043/0.248, allocations: 296.9 kB / 488.3 MB, free: 75.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.953e-05/0.2481, allocations: 43.62 kB / 488.4 MB, free: 75.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003228/0.2513, allocations: 7.408 MB / 495.8 MB, free: 69.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2513, allocations: 1.062 kB / 495.8 MB, free: 69.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/0.2538, allocations: 1.924 MB / 497.7 MB, free: 68.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005084/0.2543, allocations: 405.9 kB / 498.1 MB, free: 68.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.2544, allocations: 41.27 kB / 498.1 MB, free: 68.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005256/0.255, allocations: 72.81 kB / 498.2 MB, free: 68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.2551, allocations: 119.8 kB / 498.3 MB, free: 67.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-05/0.2552, allocations: 49.66 kB / 498.4 MB, free: 67.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001046/0.2562, allocations: 1.038 MB / 499.4 MB, free: 67.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2562, allocations: 0 / 499.4 MB, free: 67.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001453/0.2577, allocations: 0.6756 MB / 0.4884 GB, free: 67.53 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.0002537/0.258, allocations: 181.1 kB / 0.4886 GB, free: 67.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.2595, allocations: 1.356 MB / 0.4899 GB, free: 66.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2595, allocations: 0 / 0.4899 GB, free: 66.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009309/0.2605, allocations: 1.193 MB / 0.491 GB, free: 66.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.2617, allocations: 0.5283 MB / 0.4916 GB, free: 65.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00646/0.2682, allocations: 6.102 MB / 0.4975 GB, free: 61.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/0.2696, allocations: 1.943 MB / 0.4994 GB, free: 60.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003773/0.27, allocations: 187.8 kB / 0.4996 GB, free: 60.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.27, allocations: 0 / 0.4996 GB, free: 60.29 MB / 410.7 MB Notification: Performance of Templates: time 0.0585/0.3285, allocations: 96.56 MB / 0.5939 GB, free: 13.96 MB / 458.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 > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.333674748893827]