Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.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.001278/0.001278, allocations: 116.1 kB / 21.19 MB, free: 0.75 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.001378/0.001378, allocations: 219.1 kB / 24.48 MB, free: 4.199 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.409/1.409, allocations: 230.4 MB / 258.1 MB, free: 8.121 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Itr|Iqs|loadInertiaM.phi|loadInertiaM.w|loadInertiaMQS.phi|loadInertiaMQS.w|smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Itr|Iqs|loadInertiaM.phi|loadInertiaM.w|loadInertiaMQS.phi|loadInertiaMQS.w|smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains") [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.001954/0.001954, allocations: 71.83 kB / 378.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2077, allocations: 53.32 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains): time 0.04346/0.2511, allocations: 38.13 MB / 470.2 MB, free: 1.074 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01991/0.271, allocations: 10.34 MB / 480.6 MB, free: 6.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00509/0.2761, allocations: 275.1 kB / 480.8 MB, free: 6.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02105/0.2972, allocations: 9.25 MB / 490.1 MB, free: 13.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01135/0.3085, allocations: 4.028 MB / 494.1 MB, free: 9.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006351/0.3149, allocations: 2.446 MB / 496.6 MB, free: 6.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01779/0.3327, allocations: 14.26 MB / 0.4988 GB, free: 8.379 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02502/0.3577, allocations: 15.98 MB / 0.5144 GB, free: 8.227 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009471/0.3672, allocations: 7.238 MB / 0.5215 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01233/0.3795, allocations: 8.144 MB / 0.5295 GB, free: 8.797 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003519/0.383, allocations: 2.027 MB / 0.5315 GB, free: 6.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004891/0.3879, allocations: 2.453 MB / 0.5338 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003855/0.3918, allocations: 4.044 MB / 0.5378 GB, free: 268 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2016/0.5933, allocations: 7.816 MB / 0.5454 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02048/0.6138, allocations: 27.05 MB / 0.5719 GB, free: 24.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6138, allocations: 0 / 0.5719 GB, free: 24.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6138, allocations: 0.8125 kB / 0.5719 GB, free: 24.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004989/0.6143, allocations: 0 / 0.5719 GB, free: 24.54 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3330 * Number of variables: 3330 Notification: Performance of Generate backend data structure: time 0.03859/0.6529, allocations: 16.19 MB / 0.5877 GB, free: 14.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.6529, allocations: 7.75 kB / 0.5877 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03549/0.6884, allocations: 6.424 MB / 0.5939 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01929/0.7077, allocations: 8.645 MB / 0.6024 GB, free: 5.926 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000678/0.7084, allocations: 0.9027 MB / 0.6033 GB, free: 5.289 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004295/0.7127, allocations: 1.193 MB / 0.6044 GB, free: 4.109 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04623/0.7589, allocations: 18.81 MB / 0.6228 GB, free: 1.234 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000457/0.7594, allocations: 23.89 kB / 0.6228 GB, free: 1.211 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003529/0.7629, allocations: 0.4926 MB / 0.6233 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007479/0.7637, allocations: 0.6498 MB / 0.6239 GB, free: 80 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03611/0.7998, allocations: 17.05 MB / 0.6406 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1079/0.9077, allocations: 63.35 MB / 0.7024 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03222/0.9399, allocations: 29.56 MB / 0.7313 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006273/0.9462, allocations: 3.691 MB / 0.7349 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2149/1.161, allocations: 10.42 MB / 0.7451 GB, free: 203.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.091e-05/1.161, allocations: 76.64 kB / 0.7452 GB, free: 203.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=402): time 8.475e-06/1.161, allocations: 2.953 kB / 0.7452 GB, free: 203.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=412): time 0.0394/1.201, allocations: 20.4 MB / 0.7651 GB, free: 199.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/1.201, allocations: 120.8 kB / 0.7652 GB, free: 199 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00641/1.207, allocations: 5.196 MB / 0.7703 GB, free: 197.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005513/1.208, allocations: 92.17 kB / 0.7704 GB, free: 197.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002268/1.21, allocations: 5.537 MB / 0.7758 GB, free: 193.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001154/1.211, allocations: 1.5 MB / 0.7772 GB, free: 192.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001616/1.213, allocations: 1.266 MB / 0.7785 GB, free: 191.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.078e-05/1.213, allocations: 305.1 kB / 0.7788 GB, free: 191.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003559/1.216, allocations: 2.85 MB / 0.7816 GB, free: 190.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004401/1.221, allocations: 5.353 MB / 0.7868 GB, free: 186 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008567/1.229, allocations: 8.756 MB / 0.7953 GB, free: 179.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.074e-05/1.229, allocations: 20 kB / 0.7954 GB, free: 179.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01358/1.243, allocations: 9.711 MB / 0.8048 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/1.243, allocations: 40 kB / 0.8049 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.727e-05/1.243, allocations: 80 kB / 0.8049 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002696/1.246, allocations: 1.12 MB / 0.806 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004724/1.25, allocations: 1.454 MB / 0.8075 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/1.263, allocations: 13.49 MB / 0.8206 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004999/1.268, allocations: 351.9 kB / 0.821 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005562/1.269, allocations: 326 kB / 0.8213 GB, free: 154.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * 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 (764): * Single equations (assignments): 758 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(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,5,100.0%), (1,1,100.0%), (10,46,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0057/1.274, allocations: 4.24 MB / 0.8254 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001086/1.276, allocations: 0.5626 MB / 0.826 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01046/1.286, allocations: 7.045 MB / 0.8329 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.744e-05/1.286, allocations: 30.48 kB / 0.8329 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/1.286, allocations: 0 / 0.8329 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002434/1.288, allocations: 1.134 MB / 0.834 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007919/1.289, allocations: 75.98 kB / 0.8341 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002414/1.292, allocations: 203.8 kB / 0.8343 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004989/1.292, allocations: 326.9 kB / 0.8346 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01066/1.303, allocations: 6.701 MB / 0.8411 GB, free: 135.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009285/1.312, allocations: 8.295 MB / 0.8492 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002474/1.315, allocations: 2.365 MB / 0.8515 GB, free: 124.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004125/1.319, allocations: 3.481 MB / 0.8549 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of Backend: time 1.7e-07/1.319, allocations: 4 kB / 0.8549 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009048/1.328, allocations: 5.61 MB / 0.8604 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of SimCode: time 0.02681/1.355, allocations: 20.84 MB / 0.8808 GB, free: 94.97 MB / 0.5762 GB Notification: Performance of Templates: time 0.3216/1.676, allocations: 99.4 MB / 0.9778 GB, free: 200.5 MB / 0.5762 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.416675134096295] Failed to read output from testmodel.py, exit status != 0: ['time', 'Itr', 'Iqs', 'loadInertiaM.phi', 'loadInertiaM.w', 'loadInertiaMQS.phi', 'loadInertiaMQS.w', 'smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im'] 1.6838307776488364 1.692548291 1.076406883 Calling exit ...