Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.00104/0.00104, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001098/0.001098, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.006/1.006, allocations: 177 MB / 204.8 MB, free: 5.594 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.2764/0.2764, allocations: 34.87 MB / 296.3 MB, free: 0.5469 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.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=46000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=46000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 378.9 MB, free: 1.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.615e-05, allocations: 2.312 kB / 378.9 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.00951/0.009536, allocations: 9.768 MB / 388.7 MB, free: 8.145 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006626/0.01616, allocations: 3.716 MB / 392.4 MB, free: 4.418 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001578/0.01774, allocations: 67.62 kB / 392.5 MB, free: 4.352 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.01973, allocations: 0.6635 MB / 393.1 MB, free: 3.684 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002433/0.02216, allocations: 0.9587 MB / 394.1 MB, free: 2.719 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.02351, allocations: 483 kB / 394.5 MB, free: 2.246 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003063/0.02657, allocations: 2.765 MB / 397.3 MB, free: 15.47 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.02804, allocations: 1.077 MB / 398.4 MB, free: 14.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004064/0.0321, allocations: 2.015 MB / 400.4 MB, free: 12.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002023/0.03413, allocations: 1.34 MB / 401.7 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007754/0.0349, allocations: 296 kB / 402 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.03616, allocations: 0.5462 MB / 402.6 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009346/0.03709, allocations: 1.044 MB / 403.6 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004702/0.04179, allocations: 0.9664 MB / 404.6 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003353/0.04515, allocations: 2.468 MB / 407.1 MB, free: 5.645 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.04515, allocations: 0 / 407.1 MB, free: 5.645 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.04515, allocations: 4 kB / 407.1 MB, free: 5.641 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.002202/0.04735, allocations: 0 / 407.1 MB, free: 5.641 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007219/0.05457, allocations: 3.305 MB / 410.4 MB, free: 2.273 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.05462, allocations: 8.031 kB / 410.4 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.05567, allocations: 0.5378 MB / 410.9 MB, free: 1.727 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007643/0.06331, allocations: 1.567 MB / 412.5 MB, free: 120 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.06345, allocations: 148.4 kB / 412.6 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003086/0.06376, allocations: 212.2 kB / 412.8 MB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006212/0.06997, allocations: 1.673 MB / 414.5 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.796e-05/0.07003, allocations: 7.953 kB / 414.5 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003197/0.07322, allocations: 80 kB / 414.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000244/0.07347, allocations: 99.92 kB / 414.7 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/0.07536, allocations: 0.7608 MB / 415.4 MB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01271/0.08807, allocations: 6.619 MB / 422.1 MB, free: 6.211 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.08981, allocations: 0.777 MB / 422.8 MB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.09091, allocations: 0.5704 MB / 423.4 MB, free: 4.855 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.0911, allocations: 52.97 kB / 423.5 MB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.09114, allocations: 46.39 kB / 423.5 MB, free: 4.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=116): time 4.569e-06/0.09115, allocations: 0 / 423.5 MB, free: 4.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=132): time 0.008286/0.09943, allocations: 3.595 MB / 427.1 MB, free: 1.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.09948, allocations: 72.66 kB / 427.2 MB, free: 1.012 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/0.1019, allocations: 1.596 MB / 428.8 MB, free: 15.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.1021, allocations: 45.7 kB / 428.8 MB, free: 15.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008997/0.103, allocations: 1.239 MB / 430.1 MB, free: 14.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004329/0.1034, allocations: 491.8 kB / 430.5 MB, free: 13.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003828/0.1038, allocations: 245.2 kB / 430.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.104, allocations: 0.5355 MB / 431.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005917/0.1046, allocations: 243.8 kB / 431.6 MB, free: 12.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007793/0.1053, allocations: 0.5859 MB / 432.1 MB, free: 11.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.1068, allocations: 0.9147 MB / 433.1 MB, free: 10.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.1068, allocations: 0 / 433.1 MB, free: 10.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003315/0.1101, allocations: 1.495 MB / 434.5 MB, free: 9.324 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.1102, allocations: 8 kB / 434.6 MB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.1102, allocations: 4 kB / 434.6 MB, free: 9.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/0.1121, allocations: 0.5487 MB / 435.1 MB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008517/0.1129, allocations: 259.6 kB / 435.4 MB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006684/0.1196, allocations: 6.324 MB / 441.7 MB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009198/0.1205, allocations: 71.92 kB / 441.8 MB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.1207, allocations: 64 kB / 441.8 MB, free: 1.805 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (5,34,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005921/0.1213, allocations: 224.3 kB / 442 MB, free: 1.574 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003879/0.1216, allocations: 246.7 kB / 442.3 MB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/0.1239, allocations: 1.288 MB / 443.6 MB, free: 12 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1601/0.284, allocations: 18.25 kB / 443.6 MB, free: 91.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.09e-05/0.2841, allocations: 5.562 kB / 443.6 MB, free: 91.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.21e-05/0.2841, allocations: 9.281 kB / 443.6 MB, free: 91.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006195/0.2903, allocations: 3.182 MB / 446.8 MB, free: 90.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.2903, allocations: 8.594 kB / 446.8 MB, free: 90.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006655/0.291, allocations: 200.7 kB / 447 MB, free: 90.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001212/0.2922, allocations: 430.3 kB / 447.4 MB, free: 90.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.191e-05/0.2923, allocations: 36.31 kB / 447.4 MB, free: 90.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004804/0.2971, allocations: 7.417 MB / 454.9 MB, free: 84.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2971, allocations: 0 / 454.9 MB, free: 84.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002895/0.3, allocations: 1.773 MB / 456.6 MB, free: 84.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005512/0.3005, allocations: 318.6 kB / 456.9 MB, free: 84.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.3007, allocations: 30.95 kB / 457 MB, free: 84.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000547/0.3013, allocations: 63.27 kB / 457 MB, free: 84.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.3015, allocations: 121.3 kB / 457.2 MB, free: 84.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.243e-05/0.3016, allocations: 42.75 kB / 457.2 MB, free: 84.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001115/0.3027, allocations: 0.9377 MB / 458.1 MB, free: 84.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3027, allocations: 0 / 458.1 MB, free: 84.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001565/0.3043, allocations: 0.5058 MB / 458.6 MB, free: 84.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001157/0.3055, allocations: 437.4 kB / 459.1 MB, free: 84.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002223/0.3077, allocations: 1.47 MB / 460.5 MB, free: 83.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3077, allocations: 0 / 460.5 MB, free: 83.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007855/0.3155, allocations: 1.21 MB / 461.7 MB, free: 83.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.3169, allocations: 400.3 kB / 462.1 MB, free: 83.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00545/0.3224, allocations: 4.254 MB / 466.4 MB, free: 81.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/0.3229, allocations: 0.6402 MB / 467 MB, free: 80.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006653/0.3236, allocations: 277.5 kB / 467.3 MB, free: 80.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.3238, allocations: 114.6 kB / 467.4 MB, free: 80.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.643e-06/0.3238, allocations: 0 / 467.4 MB, free: 80.77 MB / 410.7 MB Notification: Performance of Templates: time 0.03945/0.3633, allocations: 28.24 MB / 495.7 MB, free: 74.8 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.053306779358536]