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.001084/0.001084, allocations: 83.69 kB / 21.7 MB, free: 2.848 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.0009031/0.0009031, allocations: 159.3 kB / 24.99 MB, free: 8.309 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.9137/0.9137, allocations: 177 MB / 205.2 MB, free: 5.602 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.2363/0.2363, allocations: 34.87 MB / 296.6 MB, free: 0.5742 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.162e-06/1.162e-06, allocations: 0 / 378.9 MB, free: 2.297 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.697e-05, allocations: 4 kB / 378.9 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase): time 0.02005/0.02007, allocations: 26.86 MB / 405.7 MB, free: 7.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01171/0.03178, allocations: 7.457 MB / 413.2 MB, free: 15.84 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002548/0.03432, allocations: 218.7 kB / 413.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003012/0.03734, allocations: 1.785 MB / 415.2 MB, free: 13.82 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004139/0.04147, allocations: 2.526 MB / 417.7 MB, free: 11.28 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002276/0.04375, allocations: 1.555 MB / 419.3 MB, free: 9.723 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006403/0.05015, allocations: 9.187 MB / 428.5 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003776/0.05393, allocations: 4.022 MB / 432.5 MB, free: 12.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005595/0.05952, allocations: 6.242 MB / 438.7 MB, free: 6.137 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00405/0.06357, allocations: 4.365 MB / 443.1 MB, free: 1.762 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001328/0.0649, allocations: 1.133 MB / 444.2 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1478/0.2127, allocations: 1.349 MB / 445.6 MB, free: 59.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002338/0.215, allocations: 2.654 MB / 448.2 MB, free: 59.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00412/0.2191, allocations: 3.288 MB / 451.5 MB, free: 59.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005933/0.2251, allocations: 7.558 MB / 459.1 MB, free: 58.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2251, allocations: 0 / 459.1 MB, free: 58.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2251, allocations: 0 / 459.1 MB, free: 58.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002475/0.2253, allocations: 0 / 459.1 MB, free: 58.91 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.01188/0.2372, allocations: 9.916 MB / 469 MB, free: 55.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2372, allocations: 14.61 kB / 469 MB, free: 55.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005836/0.2431, allocations: 2.683 MB / 471.7 MB, free: 54.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004777/0.2478, allocations: 4.899 MB / 476.6 MB, free: 51.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002043/0.248, allocations: 0.5368 MB / 477.1 MB, free: 51.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000632/0.2487, allocations: 0.7097 MB / 477.8 MB, free: 51.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007475/0.2561, allocations: 5.865 MB / 483.7 MB, free: 48.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001227/0.2563, allocations: 12.5 kB / 483.7 MB, free: 48.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004551/0.2567, allocations: 300.2 kB / 484 MB, free: 48.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002548/0.257, allocations: 352.8 kB / 484.4 MB, free: 48.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005905/0.2629, allocations: 2.805 MB / 487.2 MB, free: 48.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02358/0.2865, allocations: 24.32 MB / 0.4995 GB, free: 34.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005655/0.2921, allocations: 5.152 MB / 0.5045 GB, free: 32.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002853/0.295, allocations: 2.298 MB / 0.5068 GB, free: 32.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006962/0.3019, allocations: 5.633 MB / 0.5123 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.302, allocations: 72.7 kB / 0.5123 GB, free: 29.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=281): time 4.678e-06/0.302, allocations: 0 / 0.5123 GB, free: 29.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=289): time 0.01129/0.3133, allocations: 7.754 MB / 0.5199 GB, free: 23.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.3133, allocations: 81.69 kB / 0.52 GB, free: 23.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002529/0.3158, allocations: 2.933 MB / 0.5228 GB, free: 20.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.3159, allocations: 76.7 kB / 0.5229 GB, free: 20.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001092/0.317, allocations: 3.522 MB / 0.5264 GB, free: 17.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004106/0.3174, allocations: 1.061 MB / 0.5274 GB, free: 16.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005952/0.318, allocations: 0.6918 MB / 0.5281 GB, free: 15.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.037e-05/0.3181, allocations: 480.8 kB / 0.5285 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008448/0.3189, allocations: 0.5538 MB / 0.5291 GB, free: 14.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.3201, allocations: 2.249 MB / 0.5313 GB, free: 11.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002274/0.3224, allocations: 3.054 MB / 0.5342 GB, free: 8.316 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.3224, allocations: 8 kB / 0.5343 GB, free: 8.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.003562/0.326, allocations: 3.362 MB / 0.5375 GB, free: 5.133 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.326, allocations: 26.84 kB / 0.5376 GB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/0.326, allocations: 32 kB / 0.5376 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008197/0.3268, allocations: 474.7 kB / 0.538 GB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.3284, allocations: 0.8476 MB / 0.5389 GB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004367/0.3328, allocations: 9.076 MB / 0.5477 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.3341, allocations: 179.7 kB / 0.5479 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/0.3343, allocations: 168 kB / 0.5481 GB, free: 9.965 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.001268/0.3355, allocations: 389.9 kB / 0.5484 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004656/0.336, allocations: 489.5 kB / 0.5489 GB, free: 9.148 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003837/0.3398, allocations: 2.788 MB / 0.5516 GB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.3398, allocations: 28 kB / 0.5517 GB, free: 6.301 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.922e-05/0.3399, allocations: 12 kB / 0.5517 GB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.3399, allocations: 15.95 kB / 0.5517 GB, free: 6.273 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009623/0.3495, allocations: 7.638 MB / 0.5591 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.3495, allocations: 4 kB / 0.5591 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.3506, allocations: 436.9 kB / 0.5596 GB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001765/0.3524, allocations: 0.894 MB / 0.5604 GB, free: 13.26 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001492/0.3525, allocations: 75.97 kB / 0.5605 GB, free: 13.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01028/0.3628, allocations: 17.68 MB / 0.5778 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.3628, allocations: 8 kB / 0.5778 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00491/0.3677, allocations: 3.706 MB / 0.5814 GB, free: 6.922 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/0.369, allocations: 0.6926 MB / 0.5821 GB, free: 6.227 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004461/0.3695, allocations: 67.98 kB / 0.5821 GB, free: 6.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.3707, allocations: 131.9 kB / 0.5823 GB, free: 6.031 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004658/0.3712, allocations: 235.9 kB / 0.5825 GB, free: 5.805 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001748/0.3714, allocations: 87.97 kB / 0.5826 GB, free: 5.719 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002478/0.3739, allocations: 1.609 MB / 0.5841 GB, free: 4.125 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3739, allocations: 0 / 0.5841 GB, free: 4.125 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003677/0.3775, allocations: 1.234 MB / 0.5853 GB, free: 2.891 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.0004329/0.378, allocations: 225.7 kB / 0.5856 GB, free: 2.684 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004395/0.3824, allocations: 2.89 MB / 0.5884 GB, free: 15.81 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.3824, allocations: 1 kB / 0.5884 GB, free: 15.81 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003003/0.3854, allocations: 2.665 MB / 0.591 GB, free: 13.06 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/0.3885, allocations: 1.009 MB / 0.592 GB, free: 12.07 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/0.4055, allocations: 11.25 MB / 0.603 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1232/0.5288, allocations: 1.729 MB / 0.6046 GB, free: 148.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00198/0.5307, allocations: 0.733 MB / 0.6054 GB, free: 148.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005064/0.5312, allocations: 277 kB / 0.6056 GB, free: 148.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.362e-06/0.5312, allocations: 0 / 0.6056 GB, free: 148.2 MB / 474.7 MB Notification: Performance of Templates: time 0.08701/0.6183, allocations: 54.39 MB / 0.6587 GB, free: 126.5 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.493950100848451]