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.SMPM_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.001553/0.001553, allocations: 114.3 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.001634/0.001634, allocations: 210.9 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.391/1.391, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.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-beta.om_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-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_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.001966/0.001966, allocations: 59.91 kB / 378.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2131, allocations: 53.32 MB / 432.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase): time 0.03006/0.2432, allocations: 27.28 MB / 459.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01445/0.2576, allocations: 7.55 MB / 466.9 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004183/0.2618, allocations: 175.4 kB / 467.1 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005017/0.2668, allocations: 1.852 MB / 469 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007206/0.274, allocations: 2.456 MB / 471.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004127/0.2782, allocations: 1.577 MB / 473 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01099/0.2891, allocations: 8.748 MB / 481.7 MB, free: 5.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00692/0.2961, allocations: 4.163 MB / 485.9 MB, free: 1.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005332/0.3014, allocations: 4.097 MB / 490 MB, free: 13.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00673/0.3081, allocations: 4.982 MB / 495 MB, free: 8.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001446/0.3096, allocations: 1.137 MB / 496.1 MB, free: 7.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.3118, allocations: 1.371 MB / 497.5 MB, free: 5.664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002239/0.314, allocations: 2.555 MB / 0.4883 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004885/0.3189, allocations: 4.8 MB / 0.493 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01522/0.3341, allocations: 14.96 MB / 0.5076 GB, free: 15.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3341, allocations: 4 kB / 0.5076 GB, free: 15.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3341, allocations: 3.938 kB / 0.5076 GB, free: 15.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002262/0.3344, allocations: 0 / 0.5076 GB, free: 15.26 MB / 430.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.02223/0.3566, allocations: 9.616 MB / 0.517 GB, free: 5.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3567, allocations: 8.031 kB / 0.517 GB, free: 5.531 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008884/0.3655, allocations: 1.752 MB / 0.5187 GB, free: 3.773 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/0.3757, allocations: 5.173 MB / 0.5238 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004284/0.3761, allocations: 0.5303 MB / 0.5243 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001159/0.3773, allocations: 0.7148 MB / 0.525 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01711/0.3944, allocations: 9.812 MB / 0.5346 GB, free: 3.395 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001442/0.3945, allocations: 15.88 kB / 0.5346 GB, free: 3.379 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007022/0.3952, allocations: 296 kB / 0.5349 GB, free: 3.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003477/0.3956, allocations: 350.6 kB / 0.5352 GB, free: 2.746 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3431/0.7387, allocations: 8.325 MB / 0.5433 GB, free: 90.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03821/0.7769, allocations: 30.59 MB / 0.5732 GB, free: 69.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/0.788, allocations: 16.94 MB / 0.5898 GB, free: 50.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005685/0.7937, allocations: 3.531 MB / 0.5932 GB, free: 46.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01293/0.8066, allocations: 9.306 MB / 0.6023 GB, free: 37.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.8067, allocations: 68.7 kB / 0.6024 GB, free: 37.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=281): time 4.598e-06/0.8067, allocations: 0 / 0.6024 GB, free: 37.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=289): time 0.021/0.8277, allocations: 12.45 MB / 0.6145 GB, free: 24.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.8277, allocations: 81.69 kB / 0.6146 GB, free: 24.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004291/0.832, allocations: 3.819 MB / 0.6183 GB, free: 21.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001895/0.8322, allocations: 73.7 kB / 0.6184 GB, free: 20.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001307/0.8335, allocations: 3.346 MB / 0.6217 GB, free: 17.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004898/0.834, allocations: 1.037 MB / 0.6227 GB, free: 16.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007691/0.8348, allocations: 0.6571 MB / 0.6233 GB, free: 16.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.236e-05/0.8348, allocations: 305.1 kB / 0.6236 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/0.8368, allocations: 1.542 MB / 0.6251 GB, free: 14.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002354/0.8392, allocations: 2.681 MB / 0.6277 GB, free: 11.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004579/0.8437, allocations: 4.517 MB / 0.6321 GB, free: 6.016 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/0.8437, allocations: 12 kB / 0.6322 GB, free: 6.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.007094/0.8508, allocations: 5.359 MB / 0.6374 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.8509, allocations: 24.75 kB / 0.6374 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/0.8509, allocations: 32 kB / 0.6374 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.8521, allocations: 0.5706 MB / 0.638 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003283/0.8554, allocations: 0.8541 MB / 0.6388 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/0.8656, allocations: 9.459 MB / 0.6481 GB, free: 5.047 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003034/0.8687, allocations: 176 kB / 0.6482 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002738/0.8689, allocations: 168 kB / 0.6484 GB, free: 4.711 MB / 462.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.003566/0.8725, allocations: 2.148 MB / 0.6505 GB, free: 2.551 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007722/0.8733, allocations: 441.2 kB / 0.6509 GB, free: 2.117 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00868/0.8819, allocations: 4.757 MB / 0.6556 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.81e-05/0.882, allocations: 11.95 kB / 0.6556 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.882, allocations: 7.984 kB / 0.6556 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001877/0.8839, allocations: 0.8418 MB / 0.6564 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005353/0.8844, allocations: 60 kB / 0.6565 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/0.8862, allocations: 135.9 kB / 0.6566 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004393/0.8867, allocations: 253.9 kB / 0.6568 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009827/0.8965, allocations: 4.546 MB / 0.6613 GB, free: 7.379 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008675/0.9052, allocations: 5.36 MB / 0.6665 GB, free: 1.949 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002431/0.9076, allocations: 1.498 MB / 0.668 GB, free: 448 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004123/0.9117, allocations: 2.581 MB / 0.6705 GB, free: 13.85 MB / 494.1 MB Notification: Performance of Backend: time 2.81e-07/0.9117, allocations: 0 / 0.6705 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006827/0.9186, allocations: 3.308 MB / 0.6737 GB, free: 10.46 MB / 494.1 MB Notification: Performance of SimCode: time 0.02204/0.9406, allocations: 13.72 MB / 0.6871 GB, free: 12.7 MB / 0.4982 GB Notification: Performance of Templates: time 0.2956/1.236, allocations: 70.38 MB / 0.7559 GB, free: 182.6 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.919365523848683] 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.2437383788637817 1.252144668 0.915764723 Calling exit ...