Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.0009143/0.0009143, 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.0009068/0.0009068, allocations: 154.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.9299/0.9299, allocations: 177 MB / 204.9 MB, free: 5.703 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.2742/0.2742, allocations: 34.86 MB / 296.2 MB, free: 0.4922 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5999,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5999,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 443.7 MB, free: 1.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.055e-05, allocations: 2.281 kB / 443.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.232/0.232, allocations: 28.9 MB / 472.6 MB, free: 25.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01867/0.2507, allocations: 8.977 MB / 481.6 MB, free: 18.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006506/0.2572, allocations: 294.2 kB / 481.9 MB, free: 18.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008663/0.2658, allocations: 7.882 MB / 489.7 MB, free: 14.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008557/0.2744, allocations: 3.821 MB / 493.6 MB, free: 12.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003233/0.2776, allocations: 2.152 MB / 495.7 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01277/0.2904, allocations: 13.74 MB / 0.4975 GB, free: 3.488 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02109/0.3115, allocations: 14.78 MB / 0.5119 GB, free: 11.1 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02399/0.3355, allocations: 9.867 MB / 0.5216 GB, free: 5.191 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01482/0.3503, allocations: 6.271 MB / 0.5277 GB, free: 15.06 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004915/0.3552, allocations: 1.879 MB / 0.5295 GB, free: 13.18 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006638/0.3618, allocations: 2.261 MB / 0.5317 GB, free: 10.92 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003046/0.3649, allocations: 3.83 MB / 0.5355 GB, free: 7.082 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009529/0.3744, allocations: 4.788 MB / 0.5402 GB, free: 2.285 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02485/0.3993, allocations: 25.44 MB / 0.565 GB, free: 8.777 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3993, allocations: 0 / 0.565 GB, free: 8.777 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3993, allocations: 0 / 0.565 GB, free: 8.777 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006429/0.3999, allocations: 0 / 0.565 GB, free: 8.777 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.03467/0.4346, allocations: 14.69 MB / 0.5793 GB, free: 9.977 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.4346, allocations: 12.03 kB / 0.5794 GB, free: 9.965 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02081/0.4554, allocations: 6.813 MB / 0.586 GB, free: 3.137 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01637/0.4718, allocations: 8.169 MB / 0.594 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007987/0.4726, allocations: 0.7907 MB / 0.5948 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004795/0.4774, allocations: 1.051 MB / 0.5958 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04559/0.523, allocations: 17.56 MB / 0.6129 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004136/0.5234, allocations: 15.91 kB / 0.6129 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002927/0.5263, allocations: 443.9 kB / 0.6134 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004558/0.5268, allocations: 0.6275 MB / 0.614 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02809/0.5549, allocations: 16.28 MB / 0.6299 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4781/1.033, allocations: 47.69 MB / 0.6765 GB, free: 105.3 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01787/1.051, allocations: 11.02 MB / 0.6872 GB, free: 101.9 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006063/1.057, allocations: 3.96 MB / 0.6911 GB, free: 100.4 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01697/1.074, allocations: 9.275 MB / 0.7001 GB, free: 95.98 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.084e-05/1.074, allocations: 78.31 kB / 0.7002 GB, free: 95.91 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=398): time 6.161e-06/1.074, allocations: 1.156 kB / 0.7002 GB, free: 95.91 MB / 0.5262 GB Notification: Performance of matching and sorting (n=423): time 0.03543/1.109, allocations: 20.93 MB / 0.7207 GB, free: 86.9 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/1.109, allocations: 121.2 kB / 0.7208 GB, free: 86.8 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005839/1.115, allocations: 4.396 MB / 0.7251 GB, free: 85.18 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0009423/1.116, allocations: 97.58 kB / 0.7252 GB, free: 85.09 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001867/1.118, allocations: 4.837 MB / 0.7299 GB, free: 81.43 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001452/1.12, allocations: 1.498 MB / 0.7313 GB, free: 80.13 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001278/1.121, allocations: 1.141 MB / 0.7325 GB, free: 79.47 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.111e-05/1.121, allocations: 301.1 kB / 0.7327 GB, free: 79.17 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002954/1.124, allocations: 2.917 MB / 0.7356 GB, free: 77.11 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003578/1.127, allocations: 5.003 MB / 0.7405 GB, free: 71.16 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007314/1.135, allocations: 8.357 MB / 0.7486 GB, free: 61.87 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.535e-05/1.135, allocations: 20 kB / 0.7487 GB, free: 61.85 MB / 0.5262 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01215/1.147, allocations: 9.699 MB / 0.7581 GB, free: 52.1 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 5.314e-05/1.147, allocations: 36.39 kB / 0.7582 GB, free: 52.06 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-05/1.147, allocations: 68 kB / 0.7582 GB, free: 52 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002898/1.15, allocations: 1.641 MB / 0.7598 GB, free: 50.35 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003033/1.153, allocations: 1.322 MB / 0.7611 GB, free: 49.02 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/1.167, allocations: 16.96 MB / 0.7777 GB, free: 31.67 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004292/1.171, allocations: 327.7 kB / 0.778 GB, free: 31.35 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/1.172, allocations: 291.9 kB / 0.7783 GB, free: 31.07 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * 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 (671): * Single equations (assignments): 667 * Array equations: 0 * 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 {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007186/1.179, allocations: 3.903 MB / 0.7821 GB, free: 27.15 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001355/1.181, allocations: 492.8 kB / 0.7826 GB, free: 26.67 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008938/1.19, allocations: 7.556 MB / 0.7899 GB, free: 19.04 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-05/1.19, allocations: 44 kB / 0.79 GB, free: 18.99 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.162e-05/1.19, allocations: 16 kB / 0.79 GB, free: 18.98 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.566e-05/1.19, allocations: 23.91 kB / 0.79 GB, free: 18.95 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02326/1.213, allocations: 14.85 MB / 0.8045 GB, free: 4 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/1.213, allocations: 4 kB / 0.8045 GB, free: 3.996 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/1.215, allocations: 0.7372 MB / 0.8052 GB, free: 3.258 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002483/1.217, allocations: 1.534 MB / 0.8067 GB, free: 1.703 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004824/1.218, allocations: 112 kB / 0.8068 GB, free: 1.594 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01665/1.234, allocations: 20.06 MB / 0.8264 GB, free: 12.86 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.234, allocations: 12.09 kB / 0.8264 GB, free: 12.85 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01459/1.249, allocations: 11.26 MB / 0.8374 GB, free: 1.434 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002678/1.252, allocations: 1.073 MB / 0.8385 GB, free: 368 kB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007436/1.252, allocations: 87.98 kB / 0.8386 GB, free: 280 kB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/1.254, allocations: 227.8 kB / 0.8388 GB, free: 52 kB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007635/1.255, allocations: 351.2 kB / 0.8391 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002064/1.255, allocations: 132 kB / 0.8392 GB, free: 15.58 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003896/1.259, allocations: 2.88 MB / 0.8421 GB, free: 12.69 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.9e-07/1.259, allocations: 0 / 0.8421 GB, free: 12.69 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007606/1.266, allocations: 1.863 MB / 0.8439 GB, free: 10.83 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,loadInertia.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 (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,41.3%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009271/1.267, allocations: 285.9 kB / 0.8442 GB, free: 10.54 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01198/1.279, allocations: 7.828 MB / 0.8518 GB, free: 2.656 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.279, allocations: 0 / 0.8518 GB, free: 2.656 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.2094/1.489, allocations: 4.392 MB / 0.8561 GB, free: 171.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006876/1.495, allocations: 1.111 MB / 0.8572 GB, free: 171.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03571/1.531, allocations: 18.91 MB / 0.8756 GB, free: 165.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008907/1.54, allocations: 6.156 MB / 0.8816 GB, free: 163.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001963/1.542, allocations: 440.8 kB / 0.8821 GB, free: 163.6 MB / 0.573 GB Notification: Performance of SimCode: time 2.084e-06/1.542, allocations: 0 / 0.8821 GB, free: 163.6 MB / 0.573 GB Notification: Performance of Templates: time 0.8485/2.391, allocations: 465.4 MB / 1.337 GB, free: 189.9 MB / 0.6043 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 14.5523930080235]