Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.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.00132/0.00132, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001421/0.001421, allocations: 205.3 kB / 24.48 MB, free: 3.969 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.444/1.444, allocations: 230.6 MB / 258.2 MB, free: 7.82 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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 39.94 kB / 379 MB, free: 2.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2037, allocations: 53.36 MB / 432.4 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.02277/0.2265, allocations: 18.12 MB / 450.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.2383, allocations: 5.919 MB / 456.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002954/0.2412, allocations: 174.9 kB / 456.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003592/0.2448, allocations: 1.374 MB / 458 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00545/0.2503, allocations: 1.969 MB / 459.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002824/0.2531, allocations: 1.255 MB / 461.2 MB, free: 9.812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00697/0.2601, allocations: 6.163 MB / 467.3 MB, free: 3.625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004237/0.2643, allocations: 3.034 MB / 470.4 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003668/0.268, allocations: 2.94 MB / 473.3 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00458/0.2726, allocations: 3.562 MB / 476.9 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00106/0.2736, allocations: 0.7773 MB / 477.7 MB, free: 9.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.2755, allocations: 1.078 MB / 478.7 MB, free: 8.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001975/0.2775, allocations: 1.967 MB / 480.7 MB, free: 6.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003129/0.2807, allocations: 2.68 MB / 483.4 MB, free: 3.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.2918, allocations: 10.43 MB / 493.8 MB, free: 8.996 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2918, allocations: 0 / 493.8 MB, free: 8.996 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2918, allocations: 0 / 493.8 MB, free: 8.996 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001279/0.292, allocations: 7.938 kB / 493.8 MB, free: 8.988 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1347 * Number of variables: 1347 Notification: Performance of Generate backend data structure: time 0.01492/0.3069, allocations: 6.687 MB / 0.4888 GB, free: 2.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3069, allocations: 8.031 kB / 0.4888 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004761/0.3117, allocations: 1.028 MB / 0.4898 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00748/0.3192, allocations: 3.503 MB / 0.4932 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003402/0.3195, allocations: 390.6 kB / 0.4936 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008672/0.3204, allocations: 0.5034 MB / 0.4941 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01238/0.3328, allocations: 7.009 MB / 0.5009 GB, free: 5.605 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001233/0.3329, allocations: 11.89 kB / 0.5009 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005287/0.3334, allocations: 208 kB / 0.5011 GB, free: 5.391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002715/0.3337, allocations: 242.2 kB / 0.5014 GB, free: 5.152 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.344, allocations: 5.744 MB / 0.507 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03126/0.3752, allocations: 18.05 MB / 0.5246 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006923/0.3822, allocations: 3.695 MB / 0.5282 GB, free: 9.383 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003623/0.3858, allocations: 2.03 MB / 0.5302 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01111/0.3969, allocations: 4.99 MB / 0.5351 GB, free: 2.309 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/0.3969, allocations: 64.55 kB / 0.5351 GB, free: 2.234 MB / 446.1 MB Notification: Performance of pre-optimization done (n=205): time 4.278e-06/0.397, allocations: 0 / 0.5351 GB, free: 2.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=222): time 0.192/0.589, allocations: 9.527 MB / 0.5444 GB, free: 96.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.589, allocations: 83.55 kB / 0.5445 GB, free: 96.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002881/0.5919, allocations: 2.611 MB / 0.547 GB, free: 95.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.592, allocations: 62.3 kB / 0.5471 GB, free: 95.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009338/0.593, allocations: 2.438 MB / 0.5495 GB, free: 93.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003849/0.5934, allocations: 0.804 MB / 0.5503 GB, free: 93.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006576/0.594, allocations: 0.5198 MB / 0.5508 GB, free: 92.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.985e-05/0.5941, allocations: 310.2 kB / 0.5511 GB, free: 92.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.5957, allocations: 1.266 MB / 0.5523 GB, free: 92.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/0.5976, allocations: 2.202 MB / 0.5545 GB, free: 90.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003718/0.6014, allocations: 3.677 MB / 0.5581 GB, free: 87.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/0.6014, allocations: 8 kB / 0.5581 GB, free: 87.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.005734/0.6071, allocations: 4.287 MB / 0.5622 GB, free: 83.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.6071, allocations: 20 kB / 0.5623 GB, free: 83.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/0.6072, allocations: 28 kB / 0.5623 GB, free: 83.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.6082, allocations: 0.5271 MB / 0.5628 GB, free: 83.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/0.6106, allocations: 0.6841 MB / 0.5635 GB, free: 82.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006213/0.6168, allocations: 9.658 MB / 0.5729 GB, free: 72.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/0.6188, allocations: 183.7 kB / 0.5731 GB, free: 72.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/0.619, allocations: 132 kB / 0.5732 GB, free: 72.31 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * 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 (345): * Single equations (assignments): 338 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001958/0.6209, allocations: 1.516 MB / 0.5747 GB, free: 70.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003846/0.6213, allocations: 306 kB / 0.575 GB, free: 70.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005307/0.6266, allocations: 3.634 MB / 0.5785 GB, free: 66.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/0.6266, allocations: 13.81 kB / 0.5785 GB, free: 66.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.6267, allocations: 0 / 0.5785 GB, free: 66.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/0.6279, allocations: 0.5488 MB / 0.5791 GB, free: 66.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003741/0.6282, allocations: 51.98 kB / 0.5791 GB, free: 66.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.6296, allocations: 139.8 kB / 0.5793 GB, free: 66.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002736/0.6299, allocations: 185.6 kB / 0.5794 GB, free: 65.88 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006328/0.6362, allocations: 3.649 MB / 0.583 GB, free: 62.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00524/0.6414, allocations: 4.517 MB / 0.5874 GB, free: 57.71 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001433/0.6429, allocations: 1.226 MB / 0.5886 GB, free: 56.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00185/0.6447, allocations: 1.714 MB / 0.5903 GB, free: 54.77 MB / 446.1 MB Notification: Performance of Backend: time 2.91e-07/0.6447, allocations: 0 / 0.5903 GB, free: 54.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004456/0.6492, allocations: 2.896 MB / 0.5931 GB, free: 51.82 MB / 446.1 MB Notification: Performance of SimCode: time 0.01184/0.661, allocations: 9.816 MB / 0.6027 GB, free: 41.97 MB / 446.1 MB Notification: Performance of Templates: time 0.0766/0.7376, allocations: 55.44 MB / 0.6568 GB, free: 3.25 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.940214362999541] Failed to read output from testmodel.py, exit status != 0: ['time', 'loadInertiaE.phi', 'loadInertiaE.w', 'loadInertiaM.phi', 'loadInertiaM.w', 'smrE.is[1]', 'smrE.is[2]', 'smrE.idq_rr[1]', 'smrE.idq_rr[2]', 'smrE.idq_sr[1]', 'smrE.idq_sr[2]', 'smrM.is[1]', 'smrM.is[2]', 'smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'vfController.x'] 0.7457227220002096 0.760124065 0.465127515 Calling exit ...