Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002064/0.002064, allocations: 219.5 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.781 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 51.92 kB / 379 MB, free: 2.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2126, allocations: 53.37 MB / 432.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains): time 0.04036/0.253, allocations: 32.54 MB / 464.9 MB, free: 6.016 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02058/0.2735, allocations: 9.981 MB / 474.9 MB, free: 12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005333/0.2789, allocations: 330.2 kB / 475.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02142/0.3003, allocations: 8.58 MB / 483.8 MB, free: 3.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01232/0.3126, allocations: 4.048 MB / 487.9 MB, free: 15.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006539/0.3192, allocations: 2.404 MB / 490.3 MB, free: 12.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01847/0.3376, allocations: 14.35 MB / 0.4928 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02659/0.3642, allocations: 17.12 MB / 0.5095 GB, free: 12.94 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01046/0.3747, allocations: 7.395 MB / 0.5167 GB, free: 5.523 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01264/0.3873, allocations: 8.144 MB / 0.5247 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004376/0.3917, allocations: 2.023 MB / 0.5267 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005942/0.3976, allocations: 2.437 MB / 0.529 GB, free: 8.891 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00427/0.4019, allocations: 4.037 MB / 0.533 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3659/0.7678, allocations: 6.091 MB / 0.5389 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02138/0.7892, allocations: 27.16 MB / 0.5655 GB, free: 27.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.7892, allocations: 4.562 kB / 0.5655 GB, free: 27.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7892, allocations: 0 / 0.5655 GB, free: 27.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005086/0.7897, allocations: 0 / 0.5655 GB, free: 27.47 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.03885/0.8286, allocations: 16.09 MB / 0.5812 GB, free: 20.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.8286, allocations: 10.47 kB / 0.5812 GB, free: 20.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03465/0.8633, allocations: 6.426 MB / 0.5875 GB, free: 17.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01691/0.8802, allocations: 8.624 MB / 0.5959 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006128/0.8808, allocations: 0.9012 MB / 0.5968 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003279/0.8841, allocations: 1.2 MB / 0.5979 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0356/0.9197, allocations: 19.06 MB / 0.6165 GB, free: 8.559 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002849/0.92, allocations: 15.91 kB / 0.6166 GB, free: 8.543 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001496/0.9215, allocations: 0.4922 MB / 0.617 GB, free: 8.062 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000697/0.9222, allocations: 0.6534 MB / 0.6177 GB, free: 7.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03373/0.9559, allocations: 16.98 MB / 0.6343 GB, free: 6.422 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1001/1.056, allocations: 53.4 MB / 0.6864 GB, free: 0.9062 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02228/1.078, allocations: 10.85 MB / 0.697 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006498/1.085, allocations: 3.67 MB / 0.7006 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01933/1.104, allocations: 8.951 MB / 0.7093 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.908e-05/1.104, allocations: 77.8 kB / 0.7094 GB, free: 10.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=402): time 8.075e-06/1.104, allocations: 0 / 0.7094 GB, free: 10.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=412): time 0.04507/1.149, allocations: 19.69 MB / 0.7286 GB, free: 6.832 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.995e-05/1.149, allocations: 120.4 kB / 0.7287 GB, free: 6.695 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007745/1.157, allocations: 4.913 MB / 0.7335 GB, free: 1.781 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005415/1.158, allocations: 93.7 kB / 0.7336 GB, free: 1.684 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004251/1.162, allocations: 5.569 MB / 0.7391 GB, free: 12.1 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001613/1.163, allocations: 1.495 MB / 0.7405 GB, free: 10.62 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002146/1.166, allocations: 1.259 MB / 0.7418 GB, free: 9.352 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001259/1.166, allocations: 309.1 kB / 0.7421 GB, free: 9.047 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004832/1.171, allocations: 2.861 MB / 0.7449 GB, free: 6.184 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.202/1.373, allocations: 5.402 MB / 0.7501 GB, free: 199.3 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01164/1.384, allocations: 8.746 MB / 0.7587 GB, free: 196 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.013e-05/1.384, allocations: 25.19 kB / 0.7587 GB, free: 196 MB / 0.5763 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.015/1.399, allocations: 9.595 MB / 0.7681 GB, free: 193.7 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 4.919e-05/1.399, allocations: 43.06 kB / 0.7681 GB, free: 193.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.717e-05/1.399, allocations: 81.31 kB / 0.7682 GB, free: 193.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002824/1.402, allocations: 1.111 MB / 0.7693 GB, free: 193.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004679/1.407, allocations: 1.462 MB / 0.7707 GB, free: 193.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/1.42, allocations: 12.78 MB / 0.7832 GB, free: 184.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004157/1.424, allocations: 360.5 kB / 0.7835 GB, free: 184.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004488/1.424, allocations: 327.6 kB / 0.7838 GB, free: 184.4 MB / 0.5763 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.005289/1.429, allocations: 4.234 MB / 0.788 GB, free: 182.4 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008622/1.43, allocations: 0.5238 MB / 0.7885 GB, free: 182.4 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/1.441, allocations: 6.871 MB / 0.7952 GB, free: 178.2 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.394e-05/1.441, allocations: 21.47 kB / 0.7952 GB, free: 178.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/1.441, allocations: 0 / 0.7952 GB, free: 178.2 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002245/1.443, allocations: 1.032 MB / 0.7962 GB, free: 177.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006465/1.444, allocations: 79.69 kB / 0.7963 GB, free: 177.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002241/1.446, allocations: 207.5 kB / 0.7965 GB, free: 177.4 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005121/1.446, allocations: 346.7 kB / 0.7968 GB, free: 177.2 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0107/1.457, allocations: 6.645 MB / 0.8033 GB, free: 171.7 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009492/1.467, allocations: 8.267 MB / 0.8114 GB, free: 164.8 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002592/1.469, allocations: 2.366 MB / 0.8137 GB, free: 162.9 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003747/1.473, allocations: 3.181 MB / 0.8168 GB, free: 160.2 MB / 0.5763 GB Notification: Performance of Backend: time 2.91e-07/1.473, allocations: 2.156 kB / 0.8168 GB, free: 160.2 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.009062/1.482, allocations: 5.533 MB / 0.8222 GB, free: 155.4 MB / 0.5763 GB Notification: Performance of SimCode: time 0.02709/1.509, allocations: 20.6 MB / 0.8423 GB, free: 134.9 MB / 0.5763 GB Notification: Performance of Templates: time 0.139/1.648, allocations: 106.8 MB / 0.9467 GB, free: 29.19 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.330785603997356] 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.655681871001434 1.6646529429999999 0.873077329 Calling exit ...