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.ComparisonPolyphase.SMR_Inverter_Polyphase.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.001293/0.001293, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001372/0.001372, allocations: 212.1 kB / 24.48 MB, free: 4.191 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.387/1.387, allocations: 230.4 MB / 258.1 MB, free: 8.16 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.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-beta.om_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-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") [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.001948/0.001948, allocations: 59.91 kB / 378.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2141, allocations: 53.32 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.02822/0.2423, allocations: 25.18 MB / 457.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01265/0.255, allocations: 6.927 MB / 464.2 MB, free: 7.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003168/0.2581, allocations: 167.4 kB / 464.4 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003936/0.2621, allocations: 1.665 MB / 466 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005287/0.2674, allocations: 2.209 MB / 468.2 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003157/0.2705, allocations: 1.509 MB / 469.8 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008725/0.2792, allocations: 8.145 MB / 477.9 MB, free: 9.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005348/0.2846, allocations: 4.049 MB / 482 MB, free: 5.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004653/0.2892, allocations: 3.879 MB / 485.8 MB, free: 1.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006081/0.2953, allocations: 4.741 MB / 490.6 MB, free: 12.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001328/0.2966, allocations: 1.094 MB / 491.7 MB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.2987, allocations: 1.328 MB / 493 MB, free: 10.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002156/0.3009, allocations: 2.454 MB / 495.4 MB, free: 7.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004463/0.3053, allocations: 4.536 MB / 500 MB, free: 3.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0142/0.3195, allocations: 14.31 MB / 0.5022 GB, free: 4.812 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3195, allocations: 0 / 0.5022 GB, free: 4.812 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3195, allocations: 0 / 0.5022 GB, free: 4.812 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001681/0.3197, allocations: 0 / 0.5022 GB, free: 4.812 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.02075/0.3405, allocations: 9.085 MB / 0.5111 GB, free: 11.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.3405, allocations: 8.031 kB / 0.5111 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008543/0.349, allocations: 1.671 MB / 0.5128 GB, free: 9.938 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008991/0.358, allocations: 4.883 MB / 0.5175 GB, free: 4.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004144/0.3584, allocations: 0.5141 MB / 0.518 GB, free: 4.465 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001054/0.3595, allocations: 0.6836 MB / 0.5187 GB, free: 3.781 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/0.3749, allocations: 9.47 MB / 0.5279 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001353/0.375, allocations: 7.891 kB / 0.5279 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006818/0.3757, allocations: 284 kB / 0.5282 GB, free: 9.961 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003221/0.376, allocations: 334.2 kB / 0.5285 GB, free: 9.633 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01377/0.3898, allocations: 8.09 MB / 0.5364 GB, free: 1.531 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.206/0.5958, allocations: 28.68 MB / 0.5644 GB, free: 74.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/0.6069, allocations: 17.46 MB / 0.5815 GB, free: 57.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00517/0.6121, allocations: 3.425 MB / 0.5848 GB, free: 55.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01105/0.6231, allocations: 8.929 MB / 0.5936 GB, free: 46.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.6232, allocations: 64.61 kB / 0.5936 GB, free: 46.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=259): time 3.847e-06/0.6232, allocations: 0 / 0.5936 GB, free: 46.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=265): time 0.01827/0.6414, allocations: 11.77 MB / 0.6051 GB, free: 34.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.6415, allocations: 85.44 kB / 0.6052 GB, free: 34.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003378/0.6449, allocations: 3.414 MB / 0.6085 GB, free: 31.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.645, allocations: 69.7 kB / 0.6086 GB, free: 31.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.6462, allocations: 3.151 MB / 0.6117 GB, free: 28.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004101/0.6466, allocations: 0.9495 MB / 0.6126 GB, free: 27.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007005/0.6473, allocations: 0.6015 MB / 0.6132 GB, free: 26.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.045e-05/0.6473, allocations: 301.1 kB / 0.6135 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/0.6491, allocations: 1.455 MB / 0.6149 GB, free: 25.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.6513, allocations: 2.481 MB / 0.6173 GB, free: 22.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004189/0.6555, allocations: 4.207 MB / 0.6214 GB, free: 17.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.696e-05/0.6555, allocations: 8 kB / 0.6214 GB, free: 17.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.00612/0.6616, allocations: 5.011 MB / 0.6263 GB, free: 12.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.6616, allocations: 20.94 kB / 0.6263 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.473e-05/0.6616, allocations: 36.66 kB / 0.6264 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.6628, allocations: 0.5671 MB / 0.6269 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002604/0.6654, allocations: 0.7839 MB / 0.6277 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006435/0.6718, allocations: 9.466 MB / 0.6369 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/0.6739, allocations: 163.9 kB / 0.6371 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/0.6741, allocations: 152 kB / 0.6372 GB, free: 0.6758 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.003001/0.6771, allocations: 2.078 MB / 0.6393 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005538/0.6776, allocations: 389.5 kB / 0.6396 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008113/0.6857, allocations: 4.494 MB / 0.644 GB, free: 9.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.164e-05/0.6858, allocations: 19.94 kB / 0.6441 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.6858, allocations: 0 / 0.6441 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/0.6873, allocations: 0.7756 MB / 0.6448 GB, free: 8.773 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00048/0.6878, allocations: 60 kB / 0.6449 GB, free: 8.715 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/0.6894, allocations: 135.9 kB / 0.645 GB, free: 8.582 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003995/0.6898, allocations: 233.8 kB / 0.6452 GB, free: 8.352 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009178/0.699, allocations: 4.334 MB / 0.6495 GB, free: 4.012 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007733/0.7067, allocations: 5.046 MB / 0.6544 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002178/0.7089, allocations: 1.407 MB / 0.6558 GB, free: 13.46 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003334/0.7122, allocations: 2.319 MB / 0.658 GB, free: 11.16 MB / 478.1 MB Notification: Performance of Backend: time 1.6e-07/0.7122, allocations: 0 / 0.658 GB, free: 11.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005924/0.7182, allocations: 3.157 MB / 0.6611 GB, free: 7.91 MB / 478.1 MB Notification: Performance of SimCode: time 0.02089/0.7391, allocations: 12.9 MB / 0.6737 GB, free: 10.97 MB / 494.1 MB Notification: Performance of Templates: time 0.1166/0.8557, allocations: 63.6 MB / 0.7358 GB, free: 11.93 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 25.087804642040282] 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.8638204028829932 1.019024149 0.696528216 Calling exit ...