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.SMPM_Inverter.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.00176/0.00176, allocations: 111.2 kB / 21.18 MB, free: 0.6289 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.002093/0.002093, allocations: 206.8 kB / 24.48 MB, free: 4.035 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.402/1.402, allocations: 230.4 MB / 258.1 MB, free: 8.164 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.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.1.|smpmE.is.2.|smpmE.idq_dr.1.|smpmE.idq_rr.2.|smpmE.idq_sr.1.|smpmE.idq_sr.2.|smpmM.is.1.|smpmM.is.2.|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.1.|smpmE.is.2.|smpmE.idq_dr.1.|smpmE.idq_rr.2.|smpmE.idq_sr.1.|smpmE.idq_sr.2.|smpmM.is.1.|smpmM.is.2.|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") [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.001943/0.001943, allocations: 67.83 kB / 378.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2075, allocations: 53.32 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.02575/0.2333, allocations: 22.53 MB / 454.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01255/0.2458, allocations: 6.686 MB / 461.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002673/0.2485, allocations: 143.4 kB / 461.4 MB, free: 9.898 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003402/0.2519, allocations: 1.58 MB / 463 MB, free: 8.309 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005138/0.2571, allocations: 2.132 MB / 465.2 MB, free: 6.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002829/0.2599, allocations: 1.355 MB / 466.5 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007752/0.2676, allocations: 6.591 MB / 473.1 MB, free: 14.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00441/0.272, allocations: 3.135 MB / 476.2 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004137/0.2762, allocations: 3.029 MB / 479.3 MB, free: 7.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005805/0.282, allocations: 3.744 MB / 483 MB, free: 4.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001462/0.2835, allocations: 0.8164 MB / 483.8 MB, free: 3.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.2858, allocations: 1.125 MB / 484.9 MB, free: 2.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001925/0.2877, allocations: 2.049 MB / 487 MB, free: 188 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004143/0.2918, allocations: 3.551 MB / 490.5 MB, free: 12.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01201/0.3039, allocations: 10.88 MB / 0.4897 GB, free: 1.703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3039, allocations: 0 / 0.4897 GB, free: 1.703 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3039, allocations: 0 / 0.4897 GB, free: 1.703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001978/0.3041, allocations: 0 / 0.4897 GB, free: 1.703 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01649/0.3205, allocations: 7.11 MB / 0.4966 GB, free: 10.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.3206, allocations: 12.03 kB / 0.4966 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004948/0.3255, allocations: 1.078 MB / 0.4977 GB, free: 9.406 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007259/0.3328, allocations: 3.803 MB / 0.5014 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003182/0.3331, allocations: 407.1 kB / 0.5018 GB, free: 5.133 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008107/0.3339, allocations: 0.5194 MB / 0.5023 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/0.3459, allocations: 7.067 MB / 0.5092 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001322/0.346, allocations: 11.95 kB / 0.5092 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005314/0.3465, allocations: 224 kB / 0.5094 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002667/0.3468, allocations: 258.6 kB / 0.5097 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0111/0.3579, allocations: 5.956 MB / 0.5155 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03728/0.3952, allocations: 22.39 MB / 0.5374 GB, free: 28 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1809/0.576, allocations: 8.339 MB / 0.5455 GB, free: 88.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003125/0.5792, allocations: 2.11 MB / 0.5476 GB, free: 87.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00961/0.5888, allocations: 6.463 MB / 0.5539 GB, free: 84.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.5888, allocations: 60.41 kB / 0.5539 GB, free: 84.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=220): time 3.877e-06/0.5888, allocations: 1.062 kB / 0.5539 GB, free: 84.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=240): time 0.01855/0.6074, allocations: 11.16 MB / 0.5648 GB, free: 79.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.6074, allocations: 76.38 kB / 0.5649 GB, free: 79.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003462/0.6108, allocations: 3.17 MB / 0.568 GB, free: 77.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.611, allocations: 65.7 kB / 0.5681 GB, free: 77.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001016/0.612, allocations: 2.579 MB / 0.5706 GB, free: 74.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004066/0.6124, allocations: 0.8686 MB / 0.5714 GB, free: 73.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006712/0.6131, allocations: 0.5695 MB / 0.572 GB, free: 73.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.097e-05/0.6131, allocations: 301.1 kB / 0.5723 GB, free: 73.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001715/0.6148, allocations: 1.334 MB / 0.5736 GB, free: 71.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001986/0.6168, allocations: 2.342 MB / 0.5759 GB, free: 68.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003859/0.6207, allocations: 3.928 MB / 0.5797 GB, free: 64.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/0.6207, allocations: 8 kB / 0.5797 GB, free: 64.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=406) (initialization): time 0.006147/0.6268, allocations: 4.736 MB / 0.5843 GB, free: 59.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.6269, allocations: 20 kB / 0.5843 GB, free: 59.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/0.6269, allocations: 32 kB / 0.5844 GB, free: 59.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009882/0.6279, allocations: 0.5486 MB / 0.5849 GB, free: 59.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002402/0.6303, allocations: 0.741 MB / 0.5856 GB, free: 58.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006212/0.6365, allocations: 10.45 MB / 0.5958 GB, free: 47.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/0.6388, allocations: 191.7 kB / 0.596 GB, free: 47.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/0.639, allocations: 144 kB / 0.5962 GB, free: 46.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * 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 (377): * Single equations (assignments): 370 * 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,12,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.001957/0.641, allocations: 1.57 MB / 0.5977 GB, free: 45.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004033/0.6414, allocations: 369.6 kB / 0.598 GB, free: 44.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005274/0.6466, allocations: 4.054 MB / 0.602 GB, free: 40.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/0.6467, allocations: 15.89 kB / 0.602 GB, free: 40.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.6467, allocations: 4 kB / 0.602 GB, free: 40.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.6478, allocations: 0.7134 MB / 0.6027 GB, free: 40.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004143/0.6482, allocations: 47.98 kB / 0.6028 GB, free: 40 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/0.6497, allocations: 143.8 kB / 0.6029 GB, free: 39.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/0.65, allocations: 193.7 kB / 0.6031 GB, free: 39.67 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006389/0.6563, allocations: 3.834 MB / 0.6068 GB, free: 35.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005312/0.6617, allocations: 4.77 MB / 0.6115 GB, free: 31.06 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001452/0.6631, allocations: 1.28 MB / 0.6127 GB, free: 29.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002222/0.6653, allocations: 2.135 MB / 0.6148 GB, free: 27.66 MB / 446.1 MB Notification: Performance of Backend: time 2.6e-07/0.6653, allocations: 4 kB / 0.6148 GB, free: 27.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004439/0.6698, allocations: 3.151 MB / 0.6179 GB, free: 24.41 MB / 446.1 MB Notification: Performance of SimCode: time 0.01189/0.6817, allocations: 10.59 MB / 0.6282 GB, free: 13.77 MB / 446.1 MB Notification: Performance of Templates: time 0.0939/0.7756, allocations: 57.74 MB / 0.6846 GB, free: 4.656 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.267670875880867] Failed to read output from testmodel.py, exit status != 0: ['time', 'loadInertiaE.phi', 'loadInertiaE.w', 'loadInertiaM.phi', 'loadInertiaM.w', 'smpmE.is[1]', 'smpmE.is[2]', 'smpmE.idq_dr[1]', 'smpmE.idq_rr[2]', 'smpmE.idq_sr[1]', 'smpmE.idq_sr[2]', 'smpmM.is[1]', 'smpmM.is[2]', 'smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'vfController.x'] 0.7837161812931299 0.796845475 0.49000629 Calling exit ...