Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_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.0007805/0.0007805, allocations: 114.8 kB / 21.19 MB, free: 4.344 MB / 13.93 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.000871/0.000871, allocations: 213.3 kB / 24.48 MB, free: 1.359 MB / 13.93 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.9083/0.9083, allocations: 230.6 MB / 258.2 MB, free: 3.09 MB / 202.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.1468/0.1468, allocations: 47.7 MB / 362.4 MB, free: 15.42 MB / 298.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.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 95.84 kB / 0.4978 GB, free: 3.242 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2498, allocations: 66.22 MB / 0.5624 GB, free: 13.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.01389/0.2637, allocations: 18.2 MB / 0.5802 GB, free: 11.24 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009746/0.2735, allocations: 5.939 MB / 0.586 GB, free: 5.281 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003187/0.2767, allocations: 170.9 kB / 0.5862 GB, free: 5.113 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003683/0.2804, allocations: 1.374 MB / 0.5875 GB, free: 3.73 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005765/0.2861, allocations: 1.969 MB / 0.5894 GB, free: 1.75 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002991/0.2891, allocations: 1.259 MB / 0.5907 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.006939/0.296, allocations: 6.174 MB / 0.5967 GB, free: 10.29 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004274/0.3003, allocations: 2.917 MB / 0.5995 GB, free: 7.289 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003841/0.3042, allocations: 2.932 MB / 0.6024 GB, free: 4.348 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00494/0.3091, allocations: 3.343 MB / 0.6057 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002158/0.3113, allocations: 0.7812 MB / 0.6064 GB, free: 216 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00291/0.3142, allocations: 1.058 MB / 0.6075 GB, free: 15.15 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001991/0.3162, allocations: 1.971 MB / 0.6094 GB, free: 13.18 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004155/0.3203, allocations: 2.68 MB / 0.612 GB, free: 10.48 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.3307, allocations: 10.43 MB / 0.6222 GB, free: 12 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3307, allocations: 0 / 0.6222 GB, free: 12 kB / 458.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3307, allocations: 0 / 0.6222 GB, free: 12 kB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003123/0.3311, allocations: 3.938 kB / 0.6222 GB, free: 8 kB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1347 * Number of variables: 1347 Notification: Performance of Generate backend data structure: time 0.01428/0.3453, allocations: 6.712 MB / 0.6288 GB, free: 9.227 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.3454, allocations: 12.03 kB / 0.6288 GB, free: 9.215 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/0.3486, allocations: 1.028 MB / 0.6298 GB, free: 8.184 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006052/0.3547, allocations: 3.51 MB / 0.6332 GB, free: 4.609 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/0.3549, allocations: 386.6 kB / 0.6336 GB, free: 4.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001328/0.3563, allocations: 0.5039 MB / 0.6341 GB, free: 3.727 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/0.3673, allocations: 7.012 MB / 0.6409 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/0.3674, allocations: 11.89 kB / 0.6409 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000341/0.3678, allocations: 212 kB / 0.6411 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001626/0.3679, allocations: 246.2 kB / 0.6414 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008054/0.376, allocations: 5.748 MB / 0.647 GB, free: 6.371 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0255/0.4015, allocations: 18.05 MB / 0.6646 GB, free: 3.844 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004273/0.4058, allocations: 3.684 MB / 0.6682 GB, free: 372 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002206/0.408, allocations: 2.026 MB / 0.6702 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006924/0.4149, allocations: 4.994 MB / 0.675 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.4149, allocations: 60.5 kB / 0.6751 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=205): time 3.617e-06/0.4149, allocations: 4 kB / 0.6751 GB, free: 9.227 MB / 0.5105 GB Notification: Performance of matching and sorting (n=222): time 0.01393/0.4289, allocations: 9.553 MB / 0.6844 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.4289, allocations: 73.41 kB / 0.6845 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003119/0.432, allocations: 2.625 MB / 0.6871 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002847/0.4323, allocations: 61.7 kB / 0.6871 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.4335, allocations: 2.441 MB / 0.6895 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000583/0.4341, allocations: 0.8018 MB / 0.6903 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005513/0.4346, allocations: 0.5296 MB / 0.6908 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.977e-05/0.4347, allocations: 301.1 kB / 0.6911 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.4362, allocations: 1.267 MB / 0.6923 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001884/0.4381, allocations: 2.2 MB / 0.6945 GB, free: 4.863 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003595/0.4417, allocations: 3.672 MB / 0.6981 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.577e-05/0.4417, allocations: 8 kB / 0.6981 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.2303/0.672, allocations: 4.286 MB / 0.7023 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.672, allocations: 17.83 kB / 0.7023 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-05/0.6721, allocations: 27.88 kB / 0.7023 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009276/0.673, allocations: 0.5314 MB / 0.7028 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/0.6747, allocations: 0.6834 MB / 0.7035 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005614/0.6804, allocations: 9.653 MB / 0.7129 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/0.6823, allocations: 181.1 kB / 0.7131 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/0.6825, allocations: 134.3 kB / 0.7132 GB, free: 108.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * 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 (345): * Single equations (assignments): 338 * 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,11,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.002073/0.6845, allocations: 1.515 MB / 0.7147 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004603/0.685, allocations: 304.7 kB / 0.715 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003759/0.6888, allocations: 3.631 MB / 0.7185 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.6888, allocations: 22.56 kB / 0.7186 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.6888, allocations: 7.531 kB / 0.7186 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.6888, allocations: 14.86 kB / 0.7186 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008165/0.697, allocations: 7.139 MB / 0.7256 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.697, allocations: 4 kB / 0.7256 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008351/0.6978, allocations: 377 kB / 0.7259 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/0.6989, allocations: 0.7415 MB / 0.7266 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.699, allocations: 74.38 kB / 0.7267 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007066/0.706, allocations: 15.64 MB / 0.742 GB, free: 85.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.706, allocations: 4 kB / 0.742 GB, free: 85.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005389/0.7114, allocations: 5.313 MB / 0.7472 GB, free: 80.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/0.7127, allocations: 0.5561 MB / 0.7477 GB, free: 79.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003205/0.713, allocations: 55.98 kB / 0.7478 GB, free: 79.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008004/0.7138, allocations: 139.8 kB / 0.7479 GB, free: 79.42 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002898/0.7141, allocations: 169.5 kB / 0.7481 GB, free: 79.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-05/0.7142, allocations: 71.97 kB / 0.7481 GB, free: 79.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001588/0.7158, allocations: 1.725 MB / 0.7498 GB, free: 77.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7158, allocations: 4 kB / 0.7498 GB, free: 77.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00247/0.7182, allocations: 0.932 MB / 0.7507 GB, free: 76.53 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (vfController.x,smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smrE.inertiaRotor.w,smrE.idq_sr[1],smrE.idq_sr[2],smrE.idq_dr[1],smrE.idq_dr[2],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 (182): * Single equations (assignments): 174 * 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,11,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004576/0.7187, allocations: 252.6 kB / 0.751 GB, free: 76.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003822/0.7225, allocations: 3.694 MB / 0.7546 GB, free: 72.53 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.7225, allocations: 0 / 0.7546 GB, free: 72.53 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00212/0.7246, allocations: 2.572 MB / 0.7571 GB, free: 69.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/0.7268, allocations: 0.7167 MB / 0.7578 GB, free: 69.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.7372, allocations: 9.627 MB / 0.7672 GB, free: 59.49 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001733/0.7389, allocations: 2.711 MB / 0.7698 GB, free: 56.74 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007783/0.7397, allocations: 235.4 kB / 0.7701 GB, free: 56.51 MB / 0.5261 GB Notification: Performance of SimCode: time 1.843e-06/0.7397, allocations: 4 kB / 0.7701 GB, free: 56.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.3889/1.129, allocations: 252.3 MB / 1.016 GB, free: 183.9 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 12.979312395909801]