Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.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.001288/0.001288, allocations: 120.1 kB / 21.19 MB, free: 4.773 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.001495/0.001495, allocations: 213.3 kB / 24.48 MB, free: 1.5 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.9709/0.9709, allocations: 230.6 MB / 258.2 MB, free: 3.109 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.1608/0.1608, allocations: 47.7 MB / 362.4 MB, free: 15.44 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.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=45999,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=45999,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 95.84 kB / 0.4978 GB, free: 3.238 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3062, allocations: 66.22 MB / 0.5625 GB, free: 13.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01108/0.3173, allocations: 12.59 MB / 0.5748 GB, free: 1.035 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00782/0.3251, allocations: 5.094 MB / 0.5797 GB, free: 11.93 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.3264, allocations: 103.4 kB / 0.5798 GB, free: 11.82 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.3285, allocations: 1.052 MB / 0.5809 GB, free: 10.77 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002504/0.331, allocations: 1.468 MB / 0.5823 GB, free: 9.289 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.3324, allocations: 1.005 MB / 0.5833 GB, free: 8.285 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00325/0.3356, allocations: 4.373 MB / 0.5875 GB, free: 3.891 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.3373, allocations: 1.783 MB / 0.5893 GB, free: 2.039 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.3396, allocations: 2.087 MB / 0.5913 GB, free: 15.94 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/0.3414, allocations: 2.308 MB / 0.5936 GB, free: 13.63 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004155/0.3419, allocations: 0.5352 MB / 0.5941 GB, free: 13.09 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.343, allocations: 0.8979 MB / 0.595 GB, free: 12.2 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007244/0.3437, allocations: 1.383 MB / 0.5963 GB, free: 10.81 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001356/0.3451, allocations: 1.863 MB / 0.5981 GB, free: 8.938 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00463/0.3497, allocations: 7.443 MB / 0.6054 GB, free: 1.469 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3497, allocations: 0 / 0.6054 GB, free: 1.469 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3497, allocations: 0 / 0.6054 GB, free: 1.469 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.895e-05/0.3497, allocations: 0 / 0.6054 GB, free: 1.469 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.006012/0.3557, allocations: 5.064 MB / 0.6104 GB, free: 12.34 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3558, allocations: 8.031 kB / 0.6104 GB, free: 12.33 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002258/0.358, allocations: 0.9194 MB / 0.6113 GB, free: 11.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003849/0.3619, allocations: 2.761 MB / 0.614 GB, free: 8.574 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.362, allocations: 251.1 kB / 0.6142 GB, free: 8.328 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003247/0.3623, allocations: 343.8 kB / 0.6145 GB, free: 7.992 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005229/0.3676, allocations: 4.694 MB / 0.6191 GB, free: 3.215 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.186e-05/0.3676, allocations: 15.88 kB / 0.6191 GB, free: 3.199 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002194/0.3678, allocations: 136 kB / 0.6193 GB, free: 3.066 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/0.368, allocations: 158.7 kB / 0.6194 GB, free: 2.91 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004332/0.3723, allocations: 3.911 MB / 0.6232 GB, free: 14.99 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01309/0.3854, allocations: 12.11 MB / 0.6351 GB, free: 2.594 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003628/0.389, allocations: 2.971 MB / 0.638 GB, free: 15.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/0.3907, allocations: 1.575 MB / 0.6395 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004611/0.3953, allocations: 3.602 MB / 0.643 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.3954, allocations: 51.88 kB / 0.6431 GB, free: 10.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=165): time 3.166e-06/0.3954, allocations: 0 / 0.6431 GB, free: 10.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=185): time 0.01023/0.4056, allocations: 7.424 MB / 0.6503 GB, free: 3.047 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.4056, allocations: 73.34 kB / 0.6504 GB, free: 2.961 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/0.4079, allocations: 2.468 MB / 0.6528 GB, free: 472 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.495e-05/0.4079, allocations: 61.69 kB / 0.6529 GB, free: 404 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.409, allocations: 1.677 MB / 0.6545 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003312/0.4093, allocations: 0.6623 MB / 0.6551 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003511/0.4097, allocations: 335.5 kB / 0.6555 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.578e-05/0.4097, allocations: 305.1 kB / 0.6557 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009978/0.4107, allocations: 0.9136 MB / 0.6566 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.4119, allocations: 1.323 MB / 0.6579 GB, free: 11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/0.4142, allocations: 2.359 MB / 0.6602 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.4142, allocations: 4 kB / 0.6602 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of matching and sorting (n=246) (initialization): time 0.003687/0.4179, allocations: 3.055 MB / 0.6632 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.4179, allocations: 8 kB / 0.6632 GB, free: 5.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.4179, allocations: 12 kB / 0.6632 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009192/0.4189, allocations: 0.5479 MB / 0.6638 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009368/0.4198, allocations: 431.4 kB / 0.6642 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006298/0.4261, allocations: 7.223 MB / 0.6712 GB, free: 13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008322/0.4269, allocations: 91.95 kB / 0.6713 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.427, allocations: 79.97 kB / 0.6714 GB, free: 12.83 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (198): * Single equations (assignments): 194 * 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%), (7,34,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001622/0.4287, allocations: 1.169 MB / 0.6725 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.4289, allocations: 250.4 kB / 0.6728 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003607/0.4325, allocations: 2.853 MB / 0.6756 GB, free: 8.527 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.4325, allocations: 23.94 kB / 0.6756 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.4326, allocations: 11.94 kB / 0.6756 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.4326, allocations: 7.969 kB / 0.6756 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006157/0.4387, allocations: 5.481 MB / 0.681 GB, free: 2.934 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.4387, allocations: 0 / 0.681 GB, free: 2.934 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006904/0.4394, allocations: 279.6 kB / 0.6812 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009308/0.4403, allocations: 0.6201 MB / 0.6818 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.131e-05/0.4404, allocations: 47.98 kB / 0.6819 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008005/0.4484, allocations: 10.79 MB / 0.6924 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4484, allocations: 3.984 kB / 0.6924 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00496/0.4534, allocations: 4.137 MB / 0.6965 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000771/0.4542, allocations: 490.1 kB / 0.6969 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.4544, allocations: 40 kB / 0.697 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005884/0.455, allocations: 71.94 kB / 0.697 GB, free: 2.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/0.4552, allocations: 149.7 kB / 0.6972 GB, free: 1.875 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.024e-05/0.4553, allocations: 55.97 kB / 0.6972 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001851/0.4572, allocations: 1.718 MB / 0.6989 GB, free: 88 kB / 0.5261 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4572, allocations: 4 kB / 0.6989 GB, free: 84 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.2559/0.713, allocations: 0.6825 MB / 0.6996 GB, free: 119.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,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 (126): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/0.7141, allocations: 459.6 kB / 0.7 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003792/0.7179, allocations: 2.731 MB / 0.7027 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7179, allocations: 1.375 kB / 0.7027 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00193/0.7199, allocations: 1.84 MB / 0.7045 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/0.7216, allocations: 0.5018 MB / 0.705 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00822/0.7298, allocations: 7.187 MB / 0.712 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/0.7312, allocations: 2.024 MB / 0.714 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003765/0.7316, allocations: 184.4 kB / 0.7141 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.292e-06/0.7316, allocations: 3.938 kB / 0.7142 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.06145/0.793, allocations: 101.8 MB / 0.8136 GB, free: 15.81 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.05937051284127]