Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_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.001238/0.001238, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 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.00133/0.00133, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.386/1.386, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,tolerance=1e-07,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.stray.port_p.Phi.im|smee3.stator.stray.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,tolerance=1e-07,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.stray.port_p.Phi.im|smee3.stator.stray.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 63.89 kB / 378.8 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2152, allocations: 53.31 MB / 432.1 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase): time 0.03438/0.2496, allocations: 30.91 MB / 463 MB, free: 8.305 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01638/0.266, allocations: 8.584 MB / 471.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004542/0.2705, allocations: 199.3 kB / 471.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005556/0.2761, allocations: 2.034 MB / 473.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008483/0.2845, allocations: 2.76 MB / 476.6 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00487/0.2894, allocations: 1.837 MB / 478.4 MB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01412/0.3035, allocations: 10.31 MB / 488.7 MB, free: 14.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007653/0.3112, allocations: 5.138 MB / 493.9 MB, free: 9.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006984/0.3182, allocations: 4.821 MB / 498.7 MB, free: 4.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009769/0.3279, allocations: 5.912 MB / 0.4928 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003323/0.3313, allocations: 1.367 MB / 0.4941 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004592/0.3359, allocations: 1.73 MB / 0.4958 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003708/0.3396, allocations: 3.046 MB / 0.4988 GB, free: 8.332 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007851/0.3474, allocations: 5.683 MB / 0.5043 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02042/0.3678, allocations: 17.68 MB / 0.5216 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3678, allocations: 0 / 0.5216 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3678, allocations: 0 / 0.5216 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003584/0.3682, allocations: 0 / 0.5216 GB, free: 0.8789 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.03195/0.4001, allocations: 11.28 MB / 0.5326 GB, free: 5.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4002, allocations: 12.03 kB / 0.5326 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01313/0.4133, allocations: 2.157 MB / 0.5347 GB, free: 3.305 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3514/0.7647, allocations: 6.299 MB / 0.5409 GB, free: 87.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004204/0.7651, allocations: 0.6392 MB / 0.5415 GB, free: 87.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001568/0.7667, allocations: 0.8512 MB / 0.5423 GB, free: 87.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01625/0.783, allocations: 11.45 MB / 0.5535 GB, free: 82.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001656/0.7831, allocations: 12.23 kB / 0.5535 GB, free: 82.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007273/0.7839, allocations: 354.6 kB / 0.5539 GB, free: 82.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002339/0.7841, allocations: 376.8 kB / 0.5542 GB, free: 82.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/0.7974, allocations: 9.687 MB / 0.5637 GB, free: 76.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04258/0.84, allocations: 35.56 MB / 0.5984 GB, free: 40.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01189/0.8518, allocations: 17.76 MB / 0.6158 GB, free: 21.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0064/0.8582, allocations: 3.985 MB / 0.6197 GB, free: 17.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01524/0.8735, allocations: 11.58 MB / 0.631 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.8735, allocations: 64.98 kB / 0.631 GB, free: 5.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=310): time 4.869e-06/0.8735, allocations: 0 / 0.631 GB, free: 5.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=362): time 0.03309/0.9066, allocations: 16.06 MB / 0.6467 GB, free: 5.156 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.9067, allocations: 90.17 kB / 0.6468 GB, free: 5.055 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00758/0.9143, allocations: 4.5 MB / 0.6512 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002492/0.9145, allocations: 89.69 kB / 0.6513 GB, free: 472 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003255/0.9178, allocations: 4.027 MB / 0.6552 GB, free: 12.45 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00116/0.9189, allocations: 1.289 MB / 0.6565 GB, free: 11.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001363/0.9203, allocations: 0.7966 MB / 0.6573 GB, free: 10.37 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.9204, allocations: 305.1 kB / 0.6575 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00361/0.924, allocations: 1.961 MB / 0.6595 GB, free: 8.102 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004826/0.9288, allocations: 3.412 MB / 0.6628 GB, free: 4.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009161/0.938, allocations: 5.742 MB / 0.6684 GB, free: 13.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-05/0.938, allocations: 15.94 kB / 0.6684 GB, free: 13.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01307/0.9511, allocations: 6.837 MB / 0.6751 GB, free: 6.699 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.644e-05/0.9512, allocations: 24.84 kB / 0.6751 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.588e-05/0.9512, allocations: 44 kB / 0.6752 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002494/0.9537, allocations: 0.8961 MB / 0.676 GB, free: 5.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004158/0.9579, allocations: 1.049 MB / 0.6771 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01549/0.9734, allocations: 12.46 MB / 0.6892 GB, free: 7.66 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004052/0.9774, allocations: 239.8 kB / 0.6895 GB, free: 7.426 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006475/0.9781, allocations: 210.5 kB / 0.6897 GB, free: 7.223 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 208 * 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 (529): * Single equations (assignments): 521 * Array equations: 2 * 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 {(2,13,100.0%), (1,8,100.0%), (2,13,100.0%), (3,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004903/0.983, allocations: 2.55 MB / 0.6921 GB, free: 4.66 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00134/0.9843, allocations: 0.5164 MB / 0.6926 GB, free: 4.141 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01161/0.9959, allocations: 5.694 MB / 0.6982 GB, free: 14.35 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-05/0.996, allocations: 23.86 kB / 0.6982 GB, free: 14.33 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.996, allocations: 3.938 kB / 0.6982 GB, free: 14.32 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002625/0.9986, allocations: 1.001 MB / 0.6992 GB, free: 13.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001066/0.9997, allocations: 72.17 kB / 0.6993 GB, free: 13.23 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00278/1.002, allocations: 179.8 kB / 0.6995 GB, free: 13.05 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005859/1.003, allocations: 314.2 kB / 0.6998 GB, free: 12.75 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01299/1.016, allocations: 5.566 MB / 0.7052 GB, free: 7.16 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01223/1.028, allocations: 6.978 MB / 0.712 GB, free: 128 kB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003277/1.032, allocations: 1.916 MB / 0.7139 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00582/1.037, allocations: 3.038 MB / 0.7168 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of Backend: time 1.9e-07/1.037, allocations: 0 / 0.7168 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01003/1.047, allocations: 4.133 MB / 0.7209 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of SimCode: time 0.02936/1.077, allocations: 15.4 MB / 0.7359 GB, free: 7.484 MB / 0.545 GB Notification: Performance of Templates: time 0.2887/1.365, allocations: 78.54 MB / 0.8126 GB, free: 135.5 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.477669709827751] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSpeed3.phi', 'constantSpeedM.phi', 'smee3.is[1]', 'smee3.is[2]', 'smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smee3.stator.stray.port_p.Phi.im', 'smee3.stator.stray.port_p.Phi.re', 'smeeM.is[1]', 'smeeM.is[2]', 'smeeM.is[3]', 'smeeM.is[4]', 'smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smeeM.stator.stray.port_p.Phi.im', 'smeeM.stator.stray.port_p.Phi.re'] 1.3730984930880368 1.381140359 1.011019439 Calling exit ...