Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.00101/0.00101, allocations: 88.28 kB / 21.43 MB, free: 3.109 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.001066/0.001066, allocations: 153.5 kB / 24.69 MB, free: 9.441 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.9473/0.9473, allocations: 177 MB / 204.9 MB, free: 5.691 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.2627/0.2627, allocations: 34.85 MB / 296.2 MB, free: 0.4961 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.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 443.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586e-05/1.722e-05, allocations: 2.281 kB / 443.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.1634/0.1634, allocations: 21.08 MB / 464.7 MB, free: 30.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008777/0.1722, allocations: 6.953 MB / 471.7 MB, free: 25.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002219/0.1744, allocations: 213.1 kB / 471.9 MB, free: 25.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002221/0.1767, allocations: 1.691 MB / 473.6 MB, free: 24.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003433/0.1801, allocations: 2.533 MB / 476.1 MB, free: 22.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001969/0.1821, allocations: 1.464 MB / 477.6 MB, free: 22.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005857/0.1879, allocations: 9.334 MB / 486.9 MB, free: 17.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003662/0.1916, allocations: 3.867 MB / 490.8 MB, free: 15.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006313/0.1979, allocations: 6.146 MB / 496.9 MB, free: 12.26 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004876/0.2028, allocations: 4.137 MB / 0.4893 GB, free: 10.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001489/0.2043, allocations: 1.094 MB / 0.4904 GB, free: 10.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002544/0.2068, allocations: 1.373 MB / 0.4917 GB, free: 10.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002167/0.209, allocations: 2.801 MB / 0.4945 GB, free: 8.863 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003828/0.2128, allocations: 3.209 MB / 0.4976 GB, free: 7.246 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01482/0.2276, allocations: 14.71 MB / 0.512 GB, free: 14.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.2276, allocations: 1.375 kB / 0.512 GB, free: 14.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2276, allocations: 0 / 0.512 GB, free: 14.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003044/0.2279, allocations: 0 / 0.512 GB, free: 14.82 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.01879/0.2467, allocations: 8.998 MB / 0.5208 GB, free: 6.109 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.2468, allocations: 8.031 kB / 0.5208 GB, free: 6.102 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003874/0.2507, allocations: 1.362 MB / 0.5221 GB, free: 4.734 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/0.2608, allocations: 5.042 MB / 0.527 GB, free: 15.62 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003687/0.2611, allocations: 0.5019 MB / 0.5275 GB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001849/0.263, allocations: 0.6604 MB / 0.5282 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01704/0.28, allocations: 9.98 MB / 0.5379 GB, free: 4.246 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000137/0.2802, allocations: 14.69 kB / 0.5379 GB, free: 4.234 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005452/0.2807, allocations: 283.9 kB / 0.5382 GB, free: 3.957 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002137/0.2809, allocations: 302 kB / 0.5385 GB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01218/0.2931, allocations: 8.18 MB / 0.5465 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04042/0.3335, allocations: 25.47 MB / 0.5713 GB, free: 1.398 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006215/0.3397, allocations: 5.685 MB / 0.5769 GB, free: 12.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003334/0.3431, allocations: 3.145 MB / 0.58 GB, free: 8.938 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00816/0.3512, allocations: 5.84 MB / 0.5857 GB, free: 3.066 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.3513, allocations: 64.97 kB / 0.5857 GB, free: 2.992 MB / 490.7 MB Notification: Performance of pre-optimization done (n=305): time 4.429e-06/0.3513, allocations: 4 kB / 0.5857 GB, free: 2.988 MB / 490.7 MB Notification: Performance of matching and sorting (n=324): time 0.02145/0.3727, allocations: 14.47 MB / 0.5999 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.3728, allocations: 93.89 kB / 0.5999 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004687/0.3775, allocations: 3.729 MB / 0.6036 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002185/0.3777, allocations: 81.7 kB / 0.6037 GB, free: 496 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001697/0.3794, allocations: 3.192 MB / 0.6068 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007258/0.3801, allocations: 1.131 MB / 0.6079 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008725/0.381, allocations: 0.6731 MB / 0.6085 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.391e-05/0.3811, allocations: 305.1 kB / 0.6088 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/0.3832, allocations: 1.92 MB / 0.6107 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002484/0.3857, allocations: 2.914 MB / 0.6136 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004728/0.3904, allocations: 4.974 MB / 0.6184 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.027e-05/0.3904, allocations: 8 kB / 0.6184 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of matching and sorting (n=486) (initialization): time 0.007231/0.3977, allocations: 6.337 MB / 0.6246 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.3977, allocations: 23.98 kB / 0.6246 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/0.3977, allocations: 31.94 kB / 0.6247 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001772/0.3995, allocations: 1.288 MB / 0.6259 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/0.4012, allocations: 0.819 MB / 0.6267 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.208/0.6091, allocations: 21.2 MB / 0.6474 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002913/0.612, allocations: 199.2 kB / 0.6476 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002372/0.6123, allocations: 160.1 kB / 0.6478 GB, free: 135.2 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: 9 (rheostatE.booleanStep[3].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (423): * Single equations (assignments): 409 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (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): 11 systems {(1,1,100.0%), (2,14,100.0%), (1,8,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003301/0.6156, allocations: 2.183 MB / 0.6499 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00067/0.6163, allocations: 440.8 kB / 0.6503 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00637/0.6226, allocations: 5.751 MB / 0.6559 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/0.6226, allocations: 31.59 kB / 0.656 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.882e-05/0.6227, allocations: 15.25 kB / 0.656 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/0.6227, allocations: 12.75 kB / 0.656 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/0.6383, allocations: 10.68 MB / 0.6664 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.6383, allocations: 5.75 kB / 0.6664 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/0.6397, allocations: 462.8 kB / 0.6669 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002756/0.6425, allocations: 1.641 MB / 0.6685 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001906/0.6427, allocations: 74.31 kB / 0.6685 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01985/0.6625, allocations: 30.85 MB / 0.6987 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.6625, allocations: 11.8 kB / 0.6987 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01304/0.6756, allocations: 8.405 MB / 0.7069 GB, free: 98.49 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002475/0.6781, allocations: 0.8466 MB / 0.7077 GB, free: 98.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005362/0.6786, allocations: 65.52 kB / 0.7078 GB, free: 98.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/0.6801, allocations: 193.3 kB / 0.708 GB, free: 98.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008186/0.6809, allocations: 288.5 kB / 0.7082 GB, free: 98.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002133/0.6811, allocations: 89.47 kB / 0.7083 GB, free: 98.09 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003451/0.6846, allocations: 2.492 MB / 0.7108 GB, free: 97.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6846, allocations: 4 kB / 0.7108 GB, free: 97.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003768/0.6884, allocations: 1.352 MB / 0.7121 GB, free: 97.08 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.inertiaRotor.w,aimsM.stator.zeroInductor.i0,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsE.inertiaRotor.w,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 16 * 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): 16 systems {(2,14,100.0%), (1,1,100.0%), (1,8,100.0%), (2,1,100.0%), (1,1,100.0%), (1,8,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,8,100.0%), (2,12,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005361/0.6889, allocations: 287 kB / 0.7124 GB, free: 96.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005368/0.6943, allocations: 5.998 MB / 0.7182 GB, free: 93.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.6943, allocations: 3.781 kB / 0.7182 GB, free: 93.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003381/0.6976, allocations: 4.575 MB / 0.7227 GB, free: 91.09 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003468/0.7011, allocations: 1.136 MB / 0.7238 GB, free: 90.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/0.7161, allocations: 13.08 MB / 0.7366 GB, free: 78.39 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002915/0.7191, allocations: 3.935 MB / 0.7404 GB, free: 75.46 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/0.7201, allocations: 292.2 kB / 0.7407 GB, free: 75.18 MB / 0.5261 GB Notification: Performance of SimCode: time 1.844e-06/0.7201, allocations: 0 / 0.7407 GB, free: 75.18 MB / 0.5261 GB Notification: Performance of Templates: time 0.8643/1.584, allocations: 0.6301 GB / 1.371 GB, free: 118.4 MB / 0.573 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 16.53758741915226]