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.SMPM_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.00141/0.00141, 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.001397/0.001397, allocations: 213.3 kB / 24.49 MB, free: 3.938 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.425/1.425, allocations: 230.6 MB / 258.3 MB, free: 7.734 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.SMPM_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smpm3.is.1.|smpm3.is.2.|smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.is.1.|smpmM.is.2.|smpmM.is.3.|smpmM.is.4.|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|vfController3.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smpm3.is.1.|smpm3.is.2.|smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.is.1.|smpmM.is.2.|smpmM.is.3.|smpmM.is.4.|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|vfController3.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 48.06 kB / 379 MB, free: 2.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.206, allocations: 53.37 MB / 432.4 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase): time 0.0288/0.2348, allocations: 23.32 MB / 455.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0144/0.2492, allocations: 7.263 MB / 463 MB, free: 7.977 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003767/0.253, allocations: 214.8 kB / 463.2 MB, free: 7.766 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004261/0.2572, allocations: 1.777 MB / 465 MB, free: 5.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006765/0.264, allocations: 2.434 MB / 467.4 MB, free: 3.531 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003828/0.2678, allocations: 1.548 MB / 468.9 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01078/0.2786, allocations: 8.751 MB / 477.7 MB, free: 9.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005791/0.2844, allocations: 4.155 MB / 481.9 MB, free: 4.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005262/0.2896, allocations: 4.198 MB / 486 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006828/0.2965, allocations: 4.975 MB / 491 MB, free: 11.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001587/0.2981, allocations: 1.137 MB / 492.2 MB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.3005, allocations: 1.355 MB / 493.5 MB, free: 9.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002308/0.3028, allocations: 2.555 MB / 496.1 MB, free: 6.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004297/0.3071, allocations: 3.789 MB / 499.9 MB, free: 2.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01532/0.3224, allocations: 15.01 MB / 0.5028 GB, free: 3.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3224, allocations: 4 kB / 0.5028 GB, free: 3.836 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3224, allocations: 0 / 0.5028 GB, free: 3.836 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002027/0.3226, allocations: 0 / 0.5028 GB, free: 3.836 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.0225/0.3451, allocations: 9.529 MB / 0.5121 GB, free: 10.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3452, allocations: 12.03 kB / 0.5121 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009393/0.3546, allocations: 1.752 MB / 0.5138 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/0.3651, allocations: 5.062 MB / 0.5188 GB, free: 3.305 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004578/0.3655, allocations: 0.5342 MB / 0.5193 GB, free: 2.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00127/0.3668, allocations: 0.707 MB / 0.52 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01817/0.385, allocations: 10.11 MB / 0.5299 GB, free: 7.801 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001585/0.3851, allocations: 11.94 kB / 0.5299 GB, free: 7.789 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007319/0.3859, allocations: 296 kB / 0.5302 GB, free: 7.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000364/0.3862, allocations: 354.6 kB / 0.5305 GB, free: 7.152 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3497/0.7359, allocations: 8.309 MB / 0.5386 GB, free: 93.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03746/0.7734, allocations: 25.86 MB / 0.5639 GB, free: 77.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00989/0.7833, allocations: 6.43 MB / 0.5701 GB, free: 71.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005261/0.7886, allocations: 3.508 MB / 0.5736 GB, free: 68.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01237/0.8009, allocations: 7.573 MB / 0.581 GB, free: 60.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.801, allocations: 68.72 kB / 0.581 GB, free: 60.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=281): time 5.47e-06/0.801, allocations: 0 / 0.581 GB, free: 60.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=289): time 0.02181/0.8228, allocations: 11.65 MB / 0.5924 GB, free: 49.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.8228, allocations: 85.69 kB / 0.5925 GB, free: 49.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003851/0.8266, allocations: 3.362 MB / 0.5958 GB, free: 45.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000228/0.8269, allocations: 69.7 kB / 0.5958 GB, free: 45.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001261/0.8281, allocations: 3.394 MB / 0.5992 GB, free: 42.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005395/0.8287, allocations: 1.037 MB / 0.6002 GB, free: 41.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008171/0.8295, allocations: 0.6494 MB / 0.6008 GB, free: 40.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.061e-05/0.8295, allocations: 305.1 kB / 0.6011 GB, free: 40.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/0.8316, allocations: 1.538 MB / 0.6026 GB, free: 39.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002379/0.8339, allocations: 2.743 MB / 0.6053 GB, free: 35.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004586/0.8385, allocations: 4.51 MB / 0.6097 GB, free: 30.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/0.8385, allocations: 8 kB / 0.6097 GB, free: 30.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.007042/0.8456, allocations: 5.245 MB / 0.6148 GB, free: 25.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.8456, allocations: 24.92 kB / 0.6148 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.294e-05/0.8456, allocations: 36 kB / 0.6149 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.8469, allocations: 0.5635 MB / 0.6154 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002899/0.8498, allocations: 0.8541 MB / 0.6162 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006411/0.8562, allocations: 8.858 MB / 0.6249 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002907/0.8591, allocations: 179.7 kB / 0.6251 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/0.8594, allocations: 180.1 kB / 0.6252 GB, free: 14.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * 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 (446): * Single equations (assignments): 440 * 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.00274/0.8621, allocations: 2.14 MB / 0.6273 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006056/0.8627, allocations: 393.5 kB / 0.6277 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006748/0.8695, allocations: 4.568 MB / 0.6322 GB, free: 7.246 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.256e-05/0.8695, allocations: 15.95 kB / 0.6322 GB, free: 7.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.8695, allocations: 0 / 0.6322 GB, free: 7.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/0.8711, allocations: 0.7198 MB / 0.6329 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004714/0.8715, allocations: 68 kB / 0.633 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/0.8731, allocations: 139.8 kB / 0.6331 GB, free: 6.305 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000373/0.8735, allocations: 261.8 kB / 0.6333 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007582/0.8811, allocations: 4.511 MB / 0.6377 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008108/0.8892, allocations: 5.321 MB / 0.6429 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002439/0.8916, allocations: 1.49 MB / 0.6444 GB, free: 10.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00419/0.8958, allocations: 2.21 MB / 0.6465 GB, free: 8.445 MB / 462.1 MB Notification: Performance of Backend: time 2.7e-07/0.8958, allocations: 3.938 kB / 0.6466 GB, free: 8.441 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007542/0.9034, allocations: 3.16 MB / 0.6496 GB, free: 5.238 MB / 462.1 MB Notification: Performance of SimCode: time 0.02451/0.9279, allocations: 13.38 MB / 0.6627 GB, free: 7.812 MB / 478.1 MB Notification: Performance of Templates: time 0.1255/1.053, allocations: 73.25 MB / 0.7342 GB, free: 15.31 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.8386171700039995] Failed to read output from testmodel.py, exit status != 0: ['time', 'loadInertia3.phi', 'loadInertia3.w', 'loadInertiaM.phi', 'loadInertiaM.w', 'smpm3.is[1]', 'smpm3.is[2]', 'smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smpmM.is[1]', 'smpmM.is[2]', 'smpmM.is[3]', 'smpmM.is[4]', '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', 'vfController3.x'] 1.0616213680041255 1.075566223 0.750054552 Calling exit ...