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.SMEE_LoadDump.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.001273/0.001273, 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.001359/0.001359, allocations: 211.4 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.395/1.395, allocations: 230.4 MB / 258.1 MB, free: 8.129 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.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|loadInductor.inductor.2..i|loadInductor.inductor.3..i|smee.is.1.|smee.is.2.|smee.excitation.electroMagneticConverter.Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|loadInductor.inductor.2..i|loadInductor.inductor.3..i|smee.is.1.|smee.is.2.|smee.excitation.electroMagneticConverter.Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump") [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.001916/0.001916, allocations: 63.84 kB / 378.8 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2114, allocations: 53.32 MB / 432.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump): time 0.02177/0.2332, allocations: 17.97 MB / 450.1 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01128/0.2445, allocations: 6.056 MB / 456.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002451/0.2469, allocations: 115.6 kB / 456.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00357/0.2505, allocations: 1.343 MB / 457.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004808/0.2553, allocations: 1.713 MB / 459.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003091/0.2584, allocations: 1.253 MB / 460.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006829/0.2652, allocations: 5.435 MB / 466 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003935/0.2692, allocations: 2.345 MB / 468.3 MB, free: 2.914 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00335/0.2725, allocations: 2.457 MB / 470.8 MB, free: 460 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004565/0.2771, allocations: 2.946 MB / 473.7 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008976/0.278, allocations: 0.6445 MB / 474.4 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.2796, allocations: 0.8824 MB / 475.2 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001384/0.281, allocations: 1.531 MB / 476.8 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002784/0.2837, allocations: 2.769 MB / 479.5 MB, free: 7.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008735/0.2925, allocations: 8.483 MB / 488 MB, free: 15.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2925, allocations: 0 / 488 MB, free: 15.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2925, allocations: 0 / 488 MB, free: 15.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.738e-05/0.2926, allocations: 0 / 488 MB, free: 15.13 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: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.01338/0.3059, allocations: 5.883 MB / 493.9 MB, free: 9.152 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.306, allocations: 8.031 kB / 493.9 MB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005453/0.3114, allocations: 1.036 MB / 495 MB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006514/0.318, allocations: 3.25 MB / 498.2 MB, free: 4.777 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003832/0.3183, allocations: 483.1 kB / 498.7 MB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006425/0.319, allocations: 415.9 kB / 499.1 MB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0091/0.3281, allocations: 5.407 MB / 0.4927 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.447e-05/0.3282, allocations: 3.938 kB / 0.4927 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004108/0.3286, allocations: 175.9 kB / 0.4928 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001664/0.3287, allocations: 172.2 kB / 0.493 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007976/0.3367, allocations: 4.576 MB / 0.4975 GB, free: 9.406 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02728/0.364, allocations: 17.73 MB / 0.5148 GB, free: 7.156 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008917/0.3729, allocations: 8.337 MB / 0.5229 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004457/0.3774, allocations: 2.178 MB / 0.5251 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/0.3881, allocations: 6.288 MB / 0.5312 GB, free: 5.055 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002035/0.3901, allocations: 1.28 MB / 0.5324 GB, free: 3.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 3.246e-06/0.3901, allocations: 0 / 0.5324 GB, free: 3.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=213): time 0.1839/0.5741, allocations: 9.065 MB / 0.5413 GB, free: 97.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.5741, allocations: 366.3 kB / 0.5416 GB, free: 97.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003646/0.5778, allocations: 2.501 MB / 0.5441 GB, free: 96.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.5779, allocations: 71.8 kB / 0.5442 GB, free: 96.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001117/0.579, allocations: 1.993 MB / 0.5461 GB, free: 94.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003971/0.5794, allocations: 0.7487 MB / 0.5468 GB, free: 94.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006107/0.58, allocations: 474.3 kB / 0.5473 GB, free: 94.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.9e-05/0.5801, allocations: 301.1 kB / 0.5476 GB, free: 93.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/0.5816, allocations: 1.138 MB / 0.5487 GB, free: 93.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.5833, allocations: 1.92 MB / 0.5506 GB, free: 92.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003217/0.5865, allocations: 3.038 MB / 0.5535 GB, free: 90.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.5865, allocations: 7.625 kB / 0.5535 GB, free: 90.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005367/0.5919, allocations: 4.077 MB / 0.5575 GB, free: 88.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.5919, allocations: 15.28 kB / 0.5575 GB, free: 88.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.5919, allocations: 19.41 kB / 0.5576 GB, free: 88.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002061/0.594, allocations: 1.006 MB / 0.5585 GB, free: 88.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/0.5956, allocations: 486.5 kB / 0.559 GB, free: 88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/0.607, allocations: 16.63 MB / 0.5752 GB, free: 71.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/0.6088, allocations: 164.5 kB / 0.5754 GB, free: 70.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.609, allocations: 108 kB / 0.5755 GB, free: 70.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002701/0.6117, allocations: 2.223 MB / 0.5777 GB, free: 68.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001663/0.6134, allocations: 1.908 MB / 0.5795 GB, free: 66.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003021/0.6164, allocations: 3.022 MB / 0.5825 GB, free: 63.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.795e-06/0.6164, allocations: 4 kB / 0.5825 GB, free: 63.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.005037/0.6214, allocations: 4.053 MB / 0.5864 GB, free: 58.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.6214, allocations: 16.03 kB / 0.5865 GB, free: 58.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.6215, allocations: 20.06 kB / 0.5865 GB, free: 58.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001947/0.6234, allocations: 1.012 MB / 0.5875 GB, free: 57.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/0.6249, allocations: 483.2 kB / 0.5879 GB, free: 57.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.6363, allocations: 16.62 MB / 0.6042 GB, free: 39.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.6382, allocations: 184 kB / 0.6043 GB, free: 39.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.6384, allocations: 119.9 kB / 0.6045 GB, free: 39.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,switch.closerWithArc[3].tSwitch,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].off,loadControl.pulseStart,$PRE.loadControl.pulseStart,$whenCondition1,$whenCondition2,$whenCondition3,voltageController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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 {(2,22,100.0%), (1,12,100.0%), (2,6,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004153/0.6388, allocations: 361.3 kB / 0.6048 GB, free: 39.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003408/0.6391, allocations: 298.1 kB / 0.6051 GB, free: 38.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005297/0.6444, allocations: 3.348 MB / 0.6083 GB, free: 35.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.6444, allocations: 11.91 kB / 0.6084 GB, free: 35.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.6444, allocations: 0 / 0.6084 GB, free: 35.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009734/0.6454, allocations: 0.6162 MB / 0.609 GB, free: 34.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003822/0.6458, allocations: 63.97 kB / 0.609 GB, free: 34.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/0.6471, allocations: 103.9 kB / 0.6091 GB, free: 34.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000287/0.6474, allocations: 197.7 kB / 0.6093 GB, free: 34.53 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006045/0.6535, allocations: 3.412 MB / 0.6126 GB, free: 31.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004699/0.6582, allocations: 4.14 MB / 0.6167 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00127/0.6594, allocations: 1.109 MB / 0.6178 GB, free: 25.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001784/0.6612, allocations: 1.699 MB / 0.6194 GB, free: 24.17 MB / 446.1 MB Notification: Performance of Backend: time 3.3e-07/0.6612, allocations: 0 / 0.6194 GB, free: 24.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007705/0.6689, allocations: 5.892 MB / 0.6252 GB, free: 18.09 MB / 446.1 MB Notification: Performance of SimCode: time 0.009426/0.6783, allocations: 8.394 MB / 0.6334 GB, free: 9.664 MB / 446.1 MB Notification: Performance of Templates: time 0.09655/0.7749, allocations: 61.51 MB / 0.6935 GB, free: 12.71 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.075913971755654] Failed to read output from testmodel.py, exit status != 0: ['time', 'loadInductor.inductor[2].i', 'loadInductor.inductor[3].i', 'smee.is[1]', 'smee.is[2]', 'smee.excitation.electroMagneticConverter.Phi.re', 'smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'speed.phi', 'speed.w', 'voltageController.I.y'] 0.7832634779624641 0.797508649 0.5019572689999999 Calling exit ...