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.0009557/0.0009557, allocations: 118.6 kB / 21.19 MB, free: 4.34 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.0008942/0.0008942, allocations: 213.3 kB / 24.48 MB, free: 1.359 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 1.007/1.007, allocations: 230.6 MB / 258.2 MB, free: 3.078 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.1681/0.1681, allocations: 47.71 MB / 362.4 MB, free: 15.42 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.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 0.002909/0.002909, allocations: 99.83 kB / 0.4978 GB, free: 3.223 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.318, allocations: 66.23 MB / 0.5625 GB, free: 13.65 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase): time 0.01874/0.3367, allocations: 23.41 MB / 0.5853 GB, free: 6.141 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01677/0.3535, allocations: 7.27 MB / 0.5924 GB, free: 14.84 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006158/0.3597, allocations: 218.7 kB / 0.5926 GB, free: 14.63 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004861/0.3645, allocations: 1.781 MB / 0.5944 GB, free: 12.84 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008078/0.3726, allocations: 2.453 MB / 0.5968 GB, free: 10.37 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003337/0.3759, allocations: 1.538 MB / 0.5983 GB, free: 8.836 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.009335/0.3853, allocations: 8.747 MB / 0.6068 GB, free: 56 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005358/0.3906, allocations: 3.983 MB / 0.6107 GB, free: 11.98 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004951/0.3956, allocations: 4.198 MB / 0.6148 GB, free: 7.77 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006453/0.402, allocations: 4.689 MB / 0.6194 GB, free: 3.062 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002215/0.4042, allocations: 1.137 MB / 0.6205 GB, free: 1.926 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00202/0.4063, allocations: 1.344 MB / 0.6218 GB, free: 0.582 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001417/0.4077, allocations: 2.552 MB / 0.6243 GB, free: 14.02 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003008/0.4107, allocations: 3.797 MB / 0.628 GB, free: 10.21 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.4221, allocations: 15.02 MB / 0.6427 GB, free: 11.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4221, allocations: 0 / 0.6427 GB, free: 11.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4221, allocations: 0 / 0.6427 GB, free: 11.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002459/0.4224, allocations: 0 / 0.6427 GB, free: 11.14 MB / 490.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.01411/0.4365, allocations: 9.536 MB / 0.652 GB, free: 1.512 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.4365, allocations: 12.03 kB / 0.652 GB, free: 1.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004536/0.4411, allocations: 1.763 MB / 0.6537 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006221/0.4473, allocations: 5.078 MB / 0.6587 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002472/0.4475, allocations: 0.5303 MB / 0.6592 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009234/0.4485, allocations: 0.7082 MB / 0.6599 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01173/0.4602, allocations: 10.11 MB / 0.6698 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001101/0.4603, allocations: 7.953 kB / 0.6698 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004554/0.4608, allocations: 299.9 kB / 0.6701 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002141/0.461, allocations: 358.6 kB / 0.6704 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009922/0.4709, allocations: 8.314 MB / 0.6785 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4854/0.9563, allocations: 25.86 MB / 0.7038 GB, free: 103.4 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007934/0.9642, allocations: 6.417 MB / 0.71 GB, free: 103.2 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003645/0.9678, allocations: 3.501 MB / 0.7135 GB, free: 102.3 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00866/0.9765, allocations: 7.586 MB / 0.7209 GB, free: 98.89 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.9765, allocations: 67.25 kB / 0.7209 GB, free: 98.83 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=281): time 4.027e-06/0.9765, allocations: 0 / 0.7209 GB, free: 98.83 MB / 0.5262 GB Notification: Performance of matching and sorting (n=289): time 0.01376/0.9903, allocations: 11.66 MB / 0.7323 GB, free: 93.94 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.9903, allocations: 81.19 kB / 0.7324 GB, free: 93.87 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002941/0.9933, allocations: 3.371 MB / 0.7357 GB, free: 91.38 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.9934, allocations: 77.7 kB / 0.7358 GB, free: 91.3 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001163/0.9945, allocations: 3.392 MB / 0.7391 GB, free: 88.34 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004005/0.9949, allocations: 1.049 MB / 0.7401 GB, free: 87.3 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005941/0.9955, allocations: 0.6494 MB / 0.7407 GB, free: 86.65 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.124e-05/0.9956, allocations: 301.1 kB / 0.741 GB, free: 86.35 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.997, allocations: 1.542 MB / 0.7425 GB, free: 84.81 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.9987, allocations: 2.732 MB / 0.7452 GB, free: 81.56 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003324/1.002, allocations: 4.512 MB / 0.7496 GB, free: 76.53 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/1.002, allocations: 12 kB / 0.7496 GB, free: 76.52 MB / 0.5262 GB Notification: Performance of matching and sorting (n=476) (initialization): time 0.004936/1.007, allocations: 5.241 MB / 0.7547 GB, free: 71.21 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/1.007, allocations: 20 kB / 0.7547 GB, free: 71.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/1.007, allocations: 40.03 kB / 0.7548 GB, free: 71.16 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008421/1.008, allocations: 0.5699 MB / 0.7553 GB, free: 70.57 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/1.009, allocations: 0.858 MB / 0.7562 GB, free: 69.71 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004762/1.014, allocations: 8.874 MB / 0.7648 GB, free: 60.44 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002182/1.016, allocations: 179.9 kB / 0.765 GB, free: 60.27 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/1.017, allocations: 164 kB / 0.7652 GB, free: 60.11 MB / 0.5262 GB 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.003155/1.02, allocations: 2.152 MB / 0.7673 GB, free: 57.94 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003971/1.02, allocations: 397.5 kB / 0.7677 GB, free: 57.55 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004546/1.025, allocations: 4.572 MB / 0.7721 GB, free: 52.9 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/1.025, allocations: 28 kB / 0.7721 GB, free: 52.88 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/1.025, allocations: 16 kB / 0.7722 GB, free: 52.86 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/1.025, allocations: 15.94 kB / 0.7722 GB, free: 52.84 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/1.035, allocations: 9.24 MB / 0.7812 GB, free: 43.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/1.035, allocations: 7.938 kB / 0.7812 GB, free: 43.49 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009617/1.036, allocations: 443.6 kB / 0.7816 GB, free: 43.06 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001401/1.037, allocations: 1.048 MB / 0.7827 GB, free: 41.99 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/1.037, allocations: 75.97 kB / 0.7827 GB, free: 41.92 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00962/1.047, allocations: 17.85 MB / 0.8002 GB, free: 23.38 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.047, allocations: 4 kB / 0.8002 GB, free: 23.38 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006547/1.053, allocations: 6.644 MB / 0.8066 GB, free: 16.55 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.055, allocations: 0.7276 MB / 0.8074 GB, free: 15.82 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003004/1.055, allocations: 64 kB / 0.8074 GB, free: 15.76 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009581/1.056, allocations: 135.9 kB / 0.8075 GB, free: 15.63 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004391/1.056, allocations: 237.6 kB / 0.8078 GB, free: 15.39 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/1.057, allocations: 87.97 kB / 0.8079 GB, free: 15.31 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.002338/1.059, allocations: 2.226 MB / 0.81 GB, free: 13.1 MB / 0.5262 GB Notification: Performance of sort global known variables: time 9e-08/1.059, allocations: 0 / 0.81 GB, free: 13.1 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.003198/1.062, allocations: 1.235 MB / 0.8112 GB, free: 11.86 MB / 0.5262 GB 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.000407/1.063, allocations: 233.1 kB / 0.8115 GB, free: 11.63 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.004115/1.067, allocations: 4.209 MB / 0.8156 GB, free: 7.34 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.067, allocations: 0 / 0.8156 GB, free: 7.34 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.002413/1.069, allocations: 2.93 MB / 0.8184 GB, free: 4.309 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/1.071, allocations: 0.9618 MB / 0.8194 GB, free: 3.367 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/1.087, allocations: 12.93 MB / 0.832 GB, free: 6.328 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003303/1.09, allocations: 3.824 MB / 0.8357 GB, free: 2.457 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009367/1.091, allocations: 303.4 kB / 0.836 GB, free: 2.16 MB / 0.5418 GB Notification: Performance of SimCode: time 1.362e-06/1.091, allocations: 0 / 0.836 GB, free: 2.16 MB / 0.5418 GB Notification: Performance of Templates: time 0.4332/1.525, allocations: 326.6 MB / 1.155 GB, free: 33.12 MB / 0.6512 GB " [Timeout remaining time 658] 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: 11.873591293115169]