Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.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.0009029/0.0009029, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.0009638/0.0009638, allocations: 166.5 kB / 24.99 MB, free: 8.797 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.9472/0.9472, allocations: 177 MB / 205.2 MB, free: 5.582 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.26/0.26, allocations: 34.87 MB / 296.6 MB, free: 0.5703 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.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 378.1 MB, free: 3.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.42e-05, allocations: 8.703 kB / 378.1 MB, free: 3.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase): time 0.0213/0.02133, allocations: 26.85 MB / 404.9 MB, free: 8.109 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01381/0.03514, allocations: 7.461 MB / 412.4 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003271/0.03841, allocations: 222.6 kB / 412.6 MB, free: 412 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003118/0.04153, allocations: 1.793 MB / 414.4 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004601/0.04613, allocations: 2.526 MB / 416.9 MB, free: 12.05 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003377/0.0495, allocations: 1.551 MB / 418.5 MB, free: 10.5 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0107/0.0602, allocations: 9.186 MB / 427.7 MB, free: 1.277 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007119/0.06732, allocations: 4.03 MB / 431.7 MB, free: 13.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01044/0.07777, allocations: 6.231 MB / 437.9 MB, free: 6.922 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007672/0.08544, allocations: 4.377 MB / 442.3 MB, free: 2.535 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002218/0.08766, allocations: 1.133 MB / 443.4 MB, free: 1.402 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002935/0.09059, allocations: 1.351 MB / 444.8 MB, free: 52 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1437/0.2343, allocations: 2.657 MB / 447.5 MB, free: 59.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004355/0.2387, allocations: 3.288 MB / 450.7 MB, free: 59.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007522/0.2462, allocations: 7.558 MB / 458.3 MB, free: 58.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2462, allocations: 0 / 458.3 MB, free: 58.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2462, allocations: 3.094 kB / 458.3 MB, free: 58.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.00023/0.2464, allocations: 2.953 kB / 458.3 MB, free: 58.87 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01388/0.2603, allocations: 9.923 MB / 468.2 MB, free: 55.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.2603, allocations: 9.906 kB / 468.2 MB, free: 55.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00562/0.266, allocations: 2.683 MB / 470.9 MB, free: 54.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005824/0.2718, allocations: 4.891 MB / 475.8 MB, free: 51.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002343/0.272, allocations: 0.5346 MB / 476.3 MB, free: 51.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008907/0.2729, allocations: 0.7144 MB / 477.1 MB, free: 51.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008853/0.2818, allocations: 5.862 MB / 482.9 MB, free: 48.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000111/0.2819, allocations: 15.27 kB / 482.9 MB, free: 48.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004484/0.2823, allocations: 298.1 kB / 483.2 MB, free: 48.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002641/0.2826, allocations: 357.4 kB / 483.6 MB, free: 48.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006323/0.2889, allocations: 2.804 MB / 486.4 MB, free: 48.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03028/0.3192, allocations: 24.3 MB / 0.4987 GB, free: 34.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005812/0.325, allocations: 5.155 MB / 0.5038 GB, free: 32.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003003/0.328, allocations: 2.303 MB / 0.506 GB, free: 32.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008296/0.3363, allocations: 5.631 MB / 0.5115 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.3363, allocations: 75 kB / 0.5116 GB, free: 29.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=281): time 4.308e-06/0.3363, allocations: 0 / 0.5116 GB, free: 29.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=289): time 0.01308/0.3494, allocations: 7.753 MB / 0.5191 GB, free: 24.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.3495, allocations: 89.34 kB / 0.5192 GB, free: 24.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002761/0.3522, allocations: 2.934 MB / 0.5221 GB, free: 21.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001578/0.3524, allocations: 77.7 kB / 0.5222 GB, free: 21.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.3535, allocations: 3.527 MB / 0.5256 GB, free: 18.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004583/0.354, allocations: 1.063 MB / 0.5266 GB, free: 17.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006294/0.3546, allocations: 0.6885 MB / 0.5273 GB, free: 16.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.167e-05/0.3546, allocations: 480.8 kB / 0.5278 GB, free: 16.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000855/0.3555, allocations: 0.546 MB / 0.5283 GB, free: 15.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.3569, allocations: 2.243 MB / 0.5305 GB, free: 12.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002455/0.3594, allocations: 3.061 MB / 0.5335 GB, free: 9.059 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/0.3594, allocations: 8 kB / 0.5335 GB, free: 9.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.004103/0.3635, allocations: 3.353 MB / 0.5368 GB, free: 5.883 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.3635, allocations: 22.59 kB / 0.5368 GB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.3635, allocations: 40 kB / 0.5368 GB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000874/0.3644, allocations: 471.2 kB / 0.5373 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.3661, allocations: 0.8461 MB / 0.5381 GB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004912/0.371, allocations: 9.084 MB / 0.547 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.3728, allocations: 175.9 kB / 0.5471 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002217/0.373, allocations: 164 kB / 0.5473 GB, free: 10.72 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * 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 (446): * Single equations (assignments): 440 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * 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): 4 systems {(1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (3,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001477/0.3745, allocations: 394.1 kB / 0.5477 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005333/0.375, allocations: 489.5 kB / 0.5481 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004141/0.3792, allocations: 2.787 MB / 0.5509 GB, free: 7.078 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.3792, allocations: 28 kB / 0.5509 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.906e-05/0.3792, allocations: 12 kB / 0.5509 GB, free: 7.039 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.985e-05/0.3792, allocations: 19.94 kB / 0.5509 GB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.39, allocations: 7.636 MB / 0.5584 GB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.39, allocations: 4 kB / 0.5584 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.3911, allocations: 435.6 kB / 0.5588 GB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001836/0.3929, allocations: 0.8948 MB / 0.5597 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001692/0.3931, allocations: 79.95 kB / 0.5598 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/0.404, allocations: 17.67 MB / 0.577 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.404, allocations: 11.56 kB / 0.577 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005344/0.4093, allocations: 3.695 MB / 0.5806 GB, free: 7.672 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/0.4105, allocations: 0.6924 MB / 0.5813 GB, free: 6.977 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000369/0.4109, allocations: 74.83 kB / 0.5814 GB, free: 6.906 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009802/0.4119, allocations: 127.9 kB / 0.5815 GB, free: 6.781 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003561/0.4122, allocations: 233.5 kB / 0.5817 GB, free: 6.555 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/0.4124, allocations: 91.97 kB / 0.5818 GB, free: 6.465 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002053/0.4144, allocations: 1.613 MB / 0.5834 GB, free: 4.871 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4144, allocations: 4 kB / 0.5834 GB, free: 4.867 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00306/0.4175, allocations: 1.23 MB / 0.5846 GB, free: 3.637 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (vfController3.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,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController.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 (217): * Single equations (assignments): 210 * 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,8,100.0%), (4,33,93.8%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,13,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.0004068/0.4179, allocations: 234.5 kB / 0.5848 GB, free: 3.426 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003622/0.4215, allocations: 2.896 MB / 0.5876 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4215, allocations: 1.875 kB / 0.5876 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002449/0.424, allocations: 2.66 MB / 0.5902 GB, free: 13.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/0.4268, allocations: 1.009 MB / 0.5912 GB, free: 12.81 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.4422, allocations: 11.24 MB / 0.6022 GB, free: 1.406 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1287/0.5708, allocations: 3.563 MB / 0.6057 GB, free: 147.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/0.572, allocations: 304.9 kB / 0.606 GB, free: 147.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.453e-06/0.572, allocations: 1.469 kB / 0.606 GB, free: 147.8 MB / 474.7 MB Notification: Performance of Templates: time 0.3188/0.8908, allocations: 326.3 MB / 0.9246 GB, free: 22.4 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.922278118086979]