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.001238/0.001238, allocations: 88.28 kB / 21.44 MB, free: 3.105 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.001465/0.001465, allocations: 154.6 kB / 24.69 MB, free: 9.449 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.9421/0.9421, allocations: 177 MB / 204.9 MB, free: 5.703 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.2449/0.2449, allocations: 34.86 MB / 296.2 MB, free: 0.5078 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=20499,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=20499,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 443.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.258e-05, allocations: 2.281 kB / 443.7 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.1909/0.1909, allocations: 15.14 MB / 458.8 MB, free: 34.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006807/0.1977, allocations: 5.414 MB / 464.2 MB, free: 30.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.1999, allocations: 131.3 kB / 464.3 MB, free: 30.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.2018, allocations: 1.262 MB / 465.6 MB, free: 30.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002278/0.2041, allocations: 1.678 MB / 467.3 MB, free: 28.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.2053, allocations: 1.087 MB / 468.4 MB, free: 28.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002701/0.208, allocations: 5.412 MB / 473.8 MB, free: 25.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/0.2098, allocations: 2.223 MB / 476 MB, free: 24.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002216/0.212, allocations: 3.335 MB / 479.3 MB, free: 22.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.2135, allocations: 2.207 MB / 481.5 MB, free: 21.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004697/0.214, allocations: 0.6128 MB / 482.2 MB, free: 21.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.215, allocations: 0.837 MB / 483 MB, free: 21.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006408/0.2156, allocations: 1.466 MB / 484.5 MB, free: 20.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.2168, allocations: 1.792 MB / 486.3 MB, free: 19.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006469/0.2233, allocations: 8.23 MB / 494.5 MB, free: 16.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2233, allocations: 1.875 kB / 494.5 MB, free: 16.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2233, allocations: 0 / 494.5 MB, free: 16.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001527/0.2234, allocations: 0 / 494.5 MB, free: 16.92 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.009978/0.2334, allocations: 5.414 MB / 499.9 MB, free: 14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.2334, allocations: 11.42 kB / 499.9 MB, free: 14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003158/0.2366, allocations: 1.022 MB / 0.4892 GB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004395/0.241, allocations: 2.95 MB / 0.4921 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.2412, allocations: 314.3 kB / 0.4924 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004544/0.2416, allocations: 397.9 kB / 0.4928 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007176/0.2488, allocations: 5.371 MB / 0.498 GB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.051e-05/0.2489, allocations: 9.031 kB / 0.498 GB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000317/0.2492, allocations: 167.3 kB / 0.4982 GB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001391/0.2493, allocations: 173.2 kB / 0.4983 GB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005378/0.2547, allocations: 4.458 MB / 0.5027 GB, free: 6.816 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01577/0.2705, allocations: 14.36 MB / 0.5167 GB, free: 9.773 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003501/0.274, allocations: 3.23 MB / 0.5199 GB, free: 6.773 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002281/0.2763, allocations: 1.979 MB / 0.5218 GB, free: 4.801 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00529/0.2816, allocations: 4.156 MB / 0.5259 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.2816, allocations: 51.88 kB / 0.5259 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of pre-optimization done (n=157): time 3.637e-06/0.2816, allocations: 0 / 0.5259 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of matching and sorting (n=160): time 0.008141/0.2897, allocations: 5.892 MB / 0.5317 GB, free: 10.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.2898, allocations: 76.7 kB / 0.5317 GB, free: 10.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/0.292, allocations: 2.114 MB / 0.5338 GB, free: 8.371 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.388e-05/0.2921, allocations: 53.7 kB / 0.5338 GB, free: 8.312 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008654/0.293, allocations: 1.915 MB / 0.5357 GB, free: 6.379 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.2933, allocations: 0.5771 MB / 0.5363 GB, free: 5.797 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004109/0.2937, allocations: 395.9 kB / 0.5367 GB, free: 5.402 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.026e-05/0.2938, allocations: 309.1 kB / 0.537 GB, free: 5.098 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009686/0.2947, allocations: 0.8553 MB / 0.5378 GB, free: 4.238 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.2961, allocations: 1.6 MB / 0.5394 GB, free: 2.305 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002389/0.2985, allocations: 2.582 MB / 0.5419 GB, free: 15.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/0.2985, allocations: 15.94 kB / 0.5419 GB, free: 15.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.003377/0.3019, allocations: 2.881 MB / 0.5447 GB, free: 12.49 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.3019, allocations: 16 kB / 0.5447 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.43e-05/0.302, allocations: 28.45 kB / 0.5447 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003363/0.3023, allocations: 177.6 kB / 0.5449 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.3035, allocations: 0.5343 MB / 0.5454 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.3052, allocations: 2.272 MB / 0.5477 GB, free: 9.352 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.3064, allocations: 115.9 kB / 0.5478 GB, free: 9.238 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.3065, allocations: 99.98 kB / 0.5479 GB, free: 9.141 MB / 458.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.001967/0.3085, allocations: 1.2 MB / 0.549 GB, free: 7.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/0.3087, allocations: 238.5 kB / 0.5493 GB, free: 7.695 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002827/0.3115, allocations: 2.355 MB / 0.5516 GB, free: 5.32 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.3115, allocations: 20 kB / 0.5516 GB, free: 5.301 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.3116, allocations: 4 kB / 0.5516 GB, free: 5.297 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.3116, allocations: 7.969 kB / 0.5516 GB, free: 5.289 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005714/0.3173, allocations: 4.881 MB / 0.5564 GB, free: 340 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.3173, allocations: 0 / 0.5564 GB, free: 340 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006732/0.318, allocations: 279.6 kB / 0.5566 GB, free: 60 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005616/0.3185, allocations: 376.8 kB / 0.557 GB, free: 15.68 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.903e-05/0.3186, allocations: 39.98 kB / 0.557 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004543/0.3232, allocations: 6.933 MB / 0.5638 GB, free: 8.406 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3232, allocations: 4.031 kB / 0.5638 GB, free: 8.402 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003791/0.327, allocations: 3.49 MB / 0.5672 GB, free: 4.859 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007864/0.3277, allocations: 418.3 kB / 0.5676 GB, free: 4.449 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.3279, allocations: 36 kB / 0.5676 GB, free: 4.414 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005777/0.3285, allocations: 79.92 kB / 0.5677 GB, free: 4.336 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.3287, allocations: 125 kB / 0.5678 GB, free: 4.215 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.21e-05/0.3288, allocations: 47.98 kB / 0.5679 GB, free: 4.168 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001542/0.3303, allocations: 1.4 MB / 0.5692 GB, free: 2.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3303, allocations: 0 / 0.5692 GB, free: 2.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001758/0.3321, allocations: 0.6718 MB / 0.5699 GB, free: 2.078 MB / 474.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.0003061/0.3324, allocations: 190.3 kB / 0.5701 GB, free: 1.887 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002521/0.3349, allocations: 2.162 MB / 0.5722 GB, free: 15.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3349, allocations: 3.938 kB / 0.5722 GB, free: 15.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001463/0.3364, allocations: 1.41 MB / 0.5736 GB, free: 14.26 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.3378, allocations: 0.5013 MB / 0.5741 GB, free: 13.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008832/0.3466, allocations: 6.838 MB / 0.5807 GB, free: 6.879 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/0.3482, allocations: 2.08 MB / 0.5828 GB, free: 4.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005693/0.3488, allocations: 180.5 kB / 0.5829 GB, free: 4.594 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3488, allocations: 4 kB / 0.5829 GB, free: 4.59 MB / 490.7 MB Notification: Performance of Templates: time 0.2614/0.6101, allocations: 96.75 MB / 0.6774 GB, free: 144.6 MB / 0.5261 GB " [Timeout remaining time 659] 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: 8.093317241873592]