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.0006898/0.0006898, allocations: 76.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009563/0.001646, allocations: 457.8 kB / 10.45 MB, free: 240 kB / 10.45 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.0006852/0.0006852, allocations: 162 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009402/0.001625, allocations: 475.6 kB / 11.82 MB, free: 2.344 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.8804/0.8804, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08084/0.9612, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.2342/0.2342, allocations: 34.88 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0261/0.2603, allocations: 13.24 MB / 292.8 MB, free: 6.387 MB / 282.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 1.212e-06/1.212e-06, allocations: 0 / 294.2 MB, free: 5.008 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047e-05/1.168e-05, allocations: 2.312 kB / 294.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.01446/0.01447, allocations: 20.22 MB / 314.4 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00987/0.02434, allocations: 6.397 MB / 320.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.026, allocations: 178.8 kB / 321 MB, free: 10.1 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001973/0.02798, allocations: 1.428 MB / 322.4 MB, free: 8.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002751/0.03073, allocations: 2.026 MB / 324.4 MB, free: 6.621 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.03212, allocations: 1.268 MB / 325.7 MB, free: 5.352 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003884/0.036, allocations: 6.479 MB / 332.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002523/0.03852, allocations: 2.999 MB / 335.2 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003749/0.04227, allocations: 5.016 MB / 340.2 MB, free: 6.668 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002698/0.04497, allocations: 3.079 MB / 343.3 MB, free: 3.582 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006496/0.04562, allocations: 0.7656 MB / 344 MB, free: 2.816 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.04689, allocations: 1.07 MB / 345.1 MB, free: 1.746 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009433/0.04783, allocations: 1.609 MB / 346.7 MB, free: 136 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001438/0.04927, allocations: 1.891 MB / 348.6 MB, free: 14.23 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004201/0.05347, allocations: 5.081 MB / 353.7 MB, free: 9.137 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.05348, allocations: 0 / 353.7 MB, free: 9.137 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.05348, allocations: 7.938 kB / 353.7 MB, free: 9.129 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.953e-05/0.05353, allocations: 0 / 353.7 MB, free: 9.129 MB / 346.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.006997/0.06053, allocations: 7.56 MB / 361.3 MB, free: 1.484 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.06056, allocations: 19.38 kB / 361.3 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002453/0.06301, allocations: 1.378 MB / 362.6 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002851/0.06586, allocations: 2.328 MB / 365 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.06604, allocations: 386.6 kB / 365.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004372/0.06648, allocations: 0.5042 MB / 365.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003575/0.07006, allocations: 3.867 MB / 369.7 MB, free: 8.789 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.448e-05/0.07013, allocations: 11.89 kB / 369.7 MB, free: 8.777 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002761/0.07041, allocations: 208 kB / 369.9 MB, free: 8.574 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000139/0.07055, allocations: 238.2 kB / 370.2 MB, free: 8.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/0.0728, allocations: 1.541 MB / 371.7 MB, free: 6.777 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01238/0.08518, allocations: 13.29 MB / 385 MB, free: 9.008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002626/0.0878, allocations: 2.349 MB / 387.4 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009525/0.08876, allocations: 0.9181 MB / 388.3 MB, free: 5.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002136/0.08897, allocations: 122 kB / 388.4 MB, free: 5.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.089, allocations: 56.67 kB / 388.5 MB, free: 5.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=268): time 3.466e-06/0.08901, allocations: 4 kB / 388.5 MB, free: 5.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=287): time 0.007801/0.09681, allocations: 5.299 MB / 393.8 MB, free: 152 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.09684, allocations: 81.67 kB / 393.8 MB, free: 56 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.09807, allocations: 1.859 MB / 395.7 MB, free: 14.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.09817, allocations: 73.7 kB / 395.8 MB, free: 14.11 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006956/0.09886, allocations: 1.95 MB / 397.7 MB, free: 12.13 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004418/0.09931, allocations: 1.015 MB / 398.7 MB, free: 11.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000498/0.0998, allocations: 0.5503 MB / 399.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003103/0.1001, allocations: 305.1 kB / 399.6 MB, free: 10.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004699/0.1006, allocations: 375.2 kB / 399.9 MB, free: 9.875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007792/0.1014, allocations: 1.245 MB / 401.2 MB, free: 8.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.1029, allocations: 2.043 MB / 403.2 MB, free: 5.801 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.1029, allocations: 8 kB / 403.2 MB, free: 5.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.002148/0.1051, allocations: 2.064 MB / 405.3 MB, free: 3.672 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.1051, allocations: 16 kB / 405.3 MB, free: 3.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.1051, allocations: 28 kB / 405.3 MB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000545/0.1057, allocations: 343.8 kB / 405.7 MB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001794/0.1075, allocations: 0.8503 MB / 406.5 MB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003792/0.1113, allocations: 7.464 MB / 414 MB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007715/0.112, allocations: 111.9 kB / 414.1 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.1122, allocations: 108 kB / 414.2 MB, free: 10.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * 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 (396): * Single equations (assignments): 389 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006252/0.1128, allocations: 328.8 kB / 414.5 MB, free: 9.965 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/0.1131, allocations: 287.7 kB / 414.8 MB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002051/0.1151, allocations: 1.804 MB / 416.6 MB, free: 7.809 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.1151, allocations: 32 kB / 416.6 MB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.1152, allocations: 12 kB / 416.7 MB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.1152, allocations: 15.94 kB / 416.7 MB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005704/0.1209, allocations: 5.29 MB / 422 MB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.1209, allocations: 11.98 kB / 422 MB, free: 2.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.1219, allocations: 0.492 MB / 422.5 MB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005257/0.1224, allocations: 397.7 kB / 422.9 MB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009247/0.1233, allocations: 0.5555 MB / 423.4 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.1234, allocations: 79.89 kB / 423.5 MB, free: 0.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006067/0.1295, allocations: 12.08 MB / 435.6 MB, free: 3.895 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.1295, allocations: 11.94 kB / 435.6 MB, free: 3.883 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/0.1321, allocations: 2.554 MB / 438.1 MB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/0.1323, allocations: 71.98 kB / 438.2 MB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005881/0.1329, allocations: 91.95 kB / 438.3 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002452/0.1331, allocations: 213.6 kB / 438.5 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.805e-05/0.1332, allocations: 67.97 kB / 438.6 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.1342/0.2674, allocations: 0.9344 MB / 439.5 MB, free: 95.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2674, allocations: 0 / 439.5 MB, free: 95.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003157/0.2706, allocations: 0.9722 MB / 440.5 MB, free: 95.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (247): * Single equations (assignments): 239 * 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%), (1,2,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.0004773/0.271, allocations: 258 kB / 440.7 MB, free: 95.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002177/0.2732, allocations: 2.257 MB / 443 MB, free: 94.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.242e-05/0.2733, allocations: 61.77 kB / 443 MB, free: 94.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.2748, allocations: 2.107 MB / 445.2 MB, free: 93.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/0.2778, allocations: 7.238 MB / 452.4 MB, free: 86.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02978/0.3075, allocations: 8.507 MB / 460.9 MB, free: 82.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009845/0.3085, allocations: 1.093 MB / 462 MB, free: 82.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001228/0.3097, allocations: 449.3 kB / 462.4 MB, free: 82.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/0.3109, allocations: 0.7461 MB / 463.2 MB, free: 82.62 MB / 426.7 MB Notification: Performance of SimCode: time 1.613e-06/0.3109, allocations: 3.719 kB / 463.2 MB, free: 82.62 MB / 426.7 MB Notification: Performance of Templates: time 0.05295/0.3639, allocations: 51.01 MB / 0.5021 GB, free: 41.81 MB / 426.7 MB " [Timeout remaining time 660] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.056985031813383]