Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.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.001304/0.001304, allocations: 106.8 kB / 21.19 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.001458/0.001458, allocations: 214.8 kB / 24.49 MB, free: 3.934 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.438/1.438, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.is.1.|smrM.is.2.|smrM.is.3.|smrM.is.4.|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|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.is.1.|smrM.is.2.|smrM.is.3.|smrM.is.4.|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|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 51.92 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2093, allocations: 53.37 MB / 432.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.02719/0.2365, allocations: 21.54 MB / 453.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.2501, allocations: 6.663 MB / 460.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003886/0.254, allocations: 206.8 kB / 460.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00475/0.2588, allocations: 1.606 MB / 462.4 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007547/0.2663, allocations: 2.209 MB / 464.6 MB, free: 6.355 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004245/0.2705, allocations: 1.469 MB / 466.1 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01067/0.2812, allocations: 8.147 MB / 474.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006137/0.2874, allocations: 4.053 MB / 478.3 MB, free: 8.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00559/0.2929, allocations: 3.973 MB / 482.2 MB, free: 4.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007564/0.3005, allocations: 4.73 MB / 487 MB, free: 15.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002253/0.3028, allocations: 1.09 MB / 488.1 MB, free: 14.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003189/0.306, allocations: 1.312 MB / 489.4 MB, free: 13.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002491/0.3084, allocations: 2.45 MB / 491.8 MB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005558/0.314, allocations: 3.587 MB / 495.4 MB, free: 7.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01719/0.3312, allocations: 14.35 MB / 0.4978 GB, free: 8.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3312, allocations: 0 / 0.4978 GB, free: 8.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3312, allocations: 0 / 0.4978 GB, free: 8.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003527/0.3316, allocations: 4 kB / 0.4978 GB, free: 8.977 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.0269/0.3585, allocations: 9.002 MB / 0.5066 GB, free: 15.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3585, allocations: 8.031 kB / 0.5066 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/0.3688, allocations: 1.674 MB / 0.5083 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01231/0.3811, allocations: 4.792 MB / 0.5129 GB, free: 9.324 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006192/0.3817, allocations: 0.5102 MB / 0.5134 GB, free: 8.812 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002415/0.3841, allocations: 0.6914 MB / 0.5141 GB, free: 8.121 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02389/0.408, allocations: 9.763 MB / 0.5236 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002613/0.4083, allocations: 11.95 kB / 0.5237 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001593/0.4099, allocations: 284 kB / 0.5239 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003799/0.4102, allocations: 334.2 kB / 0.5242 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01846/0.4287, allocations: 8.074 MB / 0.5321 GB, free: 5.516 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.226/0.6547, allocations: 24.44 MB / 0.556 GB, free: 82.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009874/0.6646, allocations: 6.331 MB / 0.5622 GB, free: 79.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00513/0.6697, allocations: 3.404 MB / 0.5655 GB, free: 76.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01206/0.6818, allocations: 7.253 MB / 0.5726 GB, free: 69.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.6818, allocations: 64.55 kB / 0.5726 GB, free: 69.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=259): time 4.929e-06/0.6818, allocations: 0 / 0.5726 GB, free: 69.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=265): time 0.02002/0.7018, allocations: 10.97 MB / 0.5834 GB, free: 58.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.7018, allocations: 81.5 kB / 0.5834 GB, free: 58.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003592/0.7054, allocations: 2.993 MB / 0.5864 GB, free: 55.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001674/0.7056, allocations: 69.7 kB / 0.5864 GB, free: 55.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001192/0.7068, allocations: 3.18 MB / 0.5895 GB, free: 52.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004777/0.7073, allocations: 0.9518 MB / 0.5905 GB, free: 51.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007961/0.7081, allocations: 0.6015 MB / 0.591 GB, free: 51.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.938e-05/0.7081, allocations: 301.1 kB / 0.5913 GB, free: 50.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001919/0.71, allocations: 1.455 MB / 0.5928 GB, free: 49.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002255/0.7123, allocations: 2.543 MB / 0.5952 GB, free: 46.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004405/0.7167, allocations: 4.188 MB / 0.5993 GB, free: 41.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.101e-05/0.7167, allocations: 15.94 kB / 0.5993 GB, free: 41.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.006684/0.7234, allocations: 4.913 MB / 0.6041 GB, free: 36.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.7234, allocations: 19.94 kB / 0.6042 GB, free: 36.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.445e-05/0.7235, allocations: 32 kB / 0.6042 GB, free: 36.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.7247, allocations: 0.566 MB / 0.6047 GB, free: 36.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002781/0.7275, allocations: 0.78 MB / 0.6055 GB, free: 35.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006616/0.7341, allocations: 8.869 MB / 0.6142 GB, free: 26.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/0.7364, allocations: 159.8 kB / 0.6143 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/0.7367, allocations: 148 kB / 0.6145 GB, free: 25.85 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * 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 (406): * Single equations (assignments): 400 * Array equations: 0 * 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 {(1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (3,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00267/0.7393, allocations: 2.082 MB / 0.6165 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006027/0.7399, allocations: 345.8 kB / 0.6168 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006739/0.7467, allocations: 4.328 MB / 0.621 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-05/0.7467, allocations: 11.95 kB / 0.6211 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.7467, allocations: 4 kB / 0.6211 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/0.7483, allocations: 0.6499 MB / 0.6217 GB, free: 18.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000553/0.7488, allocations: 60 kB / 0.6218 GB, free: 18.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/0.7504, allocations: 127.8 kB / 0.6219 GB, free: 18.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003582/0.7508, allocations: 249.6 kB / 0.6221 GB, free: 17.91 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007622/0.7584, allocations: 4.307 MB / 0.6263 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006032/0.7644, allocations: 5.019 MB / 0.6312 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001643/0.7661, allocations: 1.403 MB / 0.6326 GB, free: 7.078 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002573/0.7687, allocations: 1.973 MB / 0.6345 GB, free: 5.109 MB / 446.1 MB Notification: Performance of Backend: time 3.01e-07/0.7687, allocations: 4 kB / 0.6345 GB, free: 5.105 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005134/0.7738, allocations: 2.994 MB / 0.6374 GB, free: 2.066 MB / 446.1 MB Notification: Performance of SimCode: time 0.0212/0.795, allocations: 12.61 MB / 0.6498 GB, free: 5.414 MB / 462.1 MB Notification: Performance of Templates: time 0.1161/0.911, allocations: 65.44 MB / 0.7137 GB, free: 4.699 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 25.944761165999807] Failed to read output from testmodel.py, exit status != 0: ['time', 'loadInertia3.phi', 'loadInertia3.w', 'loadInertiaM.phi', 'loadInertiaM.w', 'smr3.is[1]', 'smr3.is[2]', 'smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smrM.is[1]', 'smrM.is[2]', 'smrM.is[3]', 'smrM.is[4]', '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', 'vfController3.x', 'vfControllerM.x'] 0.9195214530045632 0.933957033 0.59951781 Calling exit ...