Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_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.0009892/0.0009892, allocations: 118.8 kB / 21.19 MB, free: 4.398 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.0009708/0.0009708, allocations: 209.3 kB / 24.47 MB, free: 1.402 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.9792/0.9792, allocations: 230.6 MB / 258.2 MB, free: 3.094 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.1517/0.1517, 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.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 103.8 kB / 0.4978 GB, free: 3.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2423, allocations: 66.22 MB / 0.5624 GB, free: 13.67 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.0151/0.2574, allocations: 19.44 MB / 0.5814 GB, free: 10.14 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.2676, allocations: 6.406 MB / 0.5877 GB, free: 3.715 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00243/0.27, allocations: 178.9 kB / 0.5878 GB, free: 3.539 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002427/0.2724, allocations: 1.502 MB / 0.5893 GB, free: 2.027 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003746/0.2762, allocations: 2.128 MB / 0.5914 GB, free: 15.88 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.278, allocations: 1.309 MB / 0.5927 GB, free: 14.58 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005199/0.2832, allocations: 6.599 MB / 0.5991 GB, free: 7.953 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003512/0.2867, allocations: 3.003 MB / 0.602 GB, free: 4.867 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003284/0.29, allocations: 3.092 MB / 0.6051 GB, free: 1.766 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003667/0.2937, allocations: 3.502 MB / 0.6085 GB, free: 14.25 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009479/0.2946, allocations: 0.8125 MB / 0.6093 GB, free: 13.43 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.2962, allocations: 1.105 MB / 0.6104 GB, free: 12.33 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001556/0.2978, allocations: 2.045 MB / 0.6123 GB, free: 10.28 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002202/0.3, allocations: 2.832 MB / 0.6151 GB, free: 7.434 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008418/0.3084, allocations: 10.94 MB / 0.6258 GB, free: 12.46 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3084, allocations: 0 / 0.6258 GB, free: 12.46 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3084, allocations: 0 / 0.6258 GB, free: 12.46 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.542e-05/0.3085, allocations: 0 / 0.6258 GB, free: 12.46 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01072/0.3192, allocations: 7.039 MB / 0.6327 GB, free: 5.352 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3192, allocations: 12.03 kB / 0.6327 GB, free: 5.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003656/0.3229, allocations: 1.086 MB / 0.6337 GB, free: 4.25 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005241/0.3281, allocations: 3.704 MB / 0.6374 GB, free: 476 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002427/0.3284, allocations: 411.1 kB / 0.6377 GB, free: 64 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006449/0.329, allocations: 0.535 MB / 0.6383 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009823/0.3388, allocations: 7.285 MB / 0.6454 GB, free: 8.113 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001115/0.3389, allocations: 15.88 kB / 0.6454 GB, free: 8.098 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004377/0.3394, allocations: 220 kB / 0.6456 GB, free: 7.883 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002075/0.3396, allocations: 258.6 kB / 0.6459 GB, free: 7.629 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008207/0.3478, allocations: 5.944 MB / 0.6517 GB, free: 1.676 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01937/0.3672, allocations: 19.15 MB / 0.6704 GB, free: 14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00398/0.3712, allocations: 3.738 MB / 0.674 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002597/0.3737, allocations: 2.089 MB / 0.6761 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006179/0.3799, allocations: 5.205 MB / 0.6811 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.38, allocations: 60.5 kB / 0.6812 GB, free: 3.051 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=220): time 2.986e-06/0.38, allocations: 0 / 0.6812 GB, free: 3.051 MB / 0.5105 GB Notification: Performance of matching and sorting (n=240): time 0.01259/0.3925, allocations: 10.21 MB / 0.6912 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.3926, allocations: 81.34 kB / 0.6912 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002488/0.3951, allocations: 2.832 MB / 0.694 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.3952, allocations: 81.62 kB / 0.6941 GB, free: 5.812 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.3965, allocations: 2.605 MB / 0.6966 GB, free: 3.184 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004025/0.3969, allocations: 0.8715 MB / 0.6975 GB, free: 2.305 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005717/0.3975, allocations: 0.5656 MB / 0.698 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.758e-05/0.3975, allocations: 301.1 kB / 0.6983 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.3989, allocations: 1.334 MB / 0.6996 GB, free: 100 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2203/0.6192, allocations: 2.365 MB / 0.7019 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003588/0.6228, allocations: 3.915 MB / 0.7058 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-05/0.6228, allocations: 9.406 kB / 0.7058 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=406) (initialization): time 0.005299/0.6281, allocations: 4.557 MB / 0.7102 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.6282, allocations: 20.59 kB / 0.7102 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.6282, allocations: 31.03 kB / 0.7103 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007454/0.6289, allocations: 0.539 MB / 0.7108 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.6303, allocations: 0.7437 MB / 0.7115 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004163/0.6345, allocations: 9.744 MB / 0.721 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.6356, allocations: 195.7 kB / 0.7212 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.6358, allocations: 141.7 kB / 0.7214 GB, free: 104.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * 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 (377): * Single equations (assignments): 370 * 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,12,100.0%), (1,6,100.0%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001763/0.6375, allocations: 1.578 MB / 0.7229 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/0.6378, allocations: 331.7 kB / 0.7232 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00344/0.6412, allocations: 3.808 MB / 0.7269 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.6412, allocations: 20 kB / 0.727 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.6412, allocations: 16 kB / 0.727 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.6413, allocations: 15.09 kB / 0.727 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006802/0.6481, allocations: 7.549 MB / 0.7344 GB, free: 94.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.6481, allocations: 12.48 kB / 0.7344 GB, free: 94.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000836/0.6489, allocations: 406.2 kB / 0.7348 GB, free: 93.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009364/0.6498, allocations: 0.7605 MB / 0.7355 GB, free: 93.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.401e-05/0.6499, allocations: 67.97 kB / 0.7356 GB, free: 93.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006685/0.6566, allocations: 15.77 MB / 0.751 GB, free: 76.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6566, allocations: 12.03 kB / 0.751 GB, free: 76.69 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004632/0.6613, allocations: 5.605 MB / 0.7564 GB, free: 71.17 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007772/0.662, allocations: 0.5979 MB / 0.757 GB, free: 70.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/0.6623, allocations: 55.98 kB / 0.7571 GB, free: 70.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007839/0.6631, allocations: 139.9 kB / 0.7572 GB, free: 70.44 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/0.6633, allocations: 193.5 kB / 0.7574 GB, free: 70.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.208e-05/0.6634, allocations: 75.97 kB / 0.7575 GB, free: 70.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001515/0.6649, allocations: 1.857 MB / 0.7593 GB, free: 68.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.6649, allocations: 0.6562 kB / 0.7593 GB, free: 68.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002037/0.6669, allocations: 0.9985 MB / 0.7603 GB, free: 67.33 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 13 (vfController.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpmE.inertiaRotor.w,smpmE.idq_sr[1],smpmE.idq_sr[2],smpmE.idq_rr[2],smpmE.idq_dr[1],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 (198): * Single equations (assignments): 190 * 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,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%), (1,1,100.0%), (1,8,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.0003446/0.6673, allocations: 261.4 kB / 0.7605 GB, free: 67.08 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003346/0.6706, allocations: 3.878 MB / 0.7643 GB, free: 63.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6706, allocations: 0 / 0.7643 GB, free: 63.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001919/0.6725, allocations: 2.652 MB / 0.7669 GB, free: 60.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/0.6743, allocations: 0.8204 MB / 0.7677 GB, free: 59.58 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009577/0.6839, allocations: 10.12 MB / 0.7776 GB, free: 49.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001865/0.6857, allocations: 2.837 MB / 0.7803 GB, free: 46.53 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004863/0.6862, allocations: 255.4 kB / 0.7806 GB, free: 46.28 MB / 0.5261 GB Notification: Performance of SimCode: time 6.52e-07/0.6862, allocations: 0 / 0.7806 GB, free: 46.28 MB / 0.5261 GB Notification: Performance of Templates: time 0.3493/1.036, allocations: 267.1 MB / 1.041 GB, free: 157.8 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 12.463610851904377]