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_DOL.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.001668/0.001668, allocations: 113.3 kB / 20.22 MB, free: 1.793 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.001869/0.001869, allocations: 212.5 kB / 23.48 MB, free: 5.227 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.436/1.436, allocations: 230.4 MB / 257 MB, free: 8.254 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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) [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.001888/0.001888, allocations: 71.88 kB / 377.1 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2795, allocations: 53.32 MB / 430.4 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02105/0.3005, allocations: 17.41 MB / 447.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.3131, allocations: 5.726 MB / 453.5 MB, free: 4 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003617/0.3167, allocations: 103.7 kB / 453.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004449/0.3212, allocations: 1.312 MB / 455 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006322/0.3275, allocations: 1.639 MB / 456.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003713/0.3312, allocations: 1.105 MB / 457.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008711/0.3399, allocations: 5.223 MB / 462.9 MB, free: 6.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0052/0.3451, allocations: 2.309 MB / 465.2 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003976/0.3491, allocations: 2.2 MB / 467.4 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004682/0.3538, allocations: 2.677 MB / 470.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001788/0.3556, allocations: 0.6171 MB / 470.7 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002773/0.3583, allocations: 0.8552 MB / 471.6 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002235/0.3606, allocations: 1.429 MB / 473 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005113/0.3657, allocations: 2.649 MB / 475.7 MB, free: 9.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01159/0.3773, allocations: 8.156 MB / 483.8 MB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.3773, allocations: 4 kB / 483.8 MB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.3773, allocations: 0 / 483.8 MB, free: 1.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002641/0.3776, allocations: 0 / 483.8 MB, free: 1.551 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01659/0.3941, allocations: 5.536 MB / 489.4 MB, free: 11.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.3942, allocations: 8.031 kB / 489.4 MB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002306/0.3965, allocations: 0.6028 MB / 490 MB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006555/0.4031, allocations: 1.028 MB / 491 MB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008656/0.4117, allocations: 3.017 MB / 494 MB, free: 7.199 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004305/0.4122, allocations: 304 kB / 494.3 MB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001586/0.4137, allocations: 411.9 kB / 494.7 MB, free: 6.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01081/0.4245, allocations: 5.221 MB / 499.9 MB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.534e-05/0.4246, allocations: 0 / 499.9 MB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003961/0.425, allocations: 164 kB / 0.4884 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001756/0.4252, allocations: 168 kB / 0.4885 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008539/0.4337, allocations: 4.474 MB / 0.4929 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02856/0.4623, allocations: 16.75 MB / 0.5093 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008268/0.4706, allocations: 8.517 MB / 0.5176 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004008/0.4746, allocations: 1.99 MB / 0.5195 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009372/0.484, allocations: 5.781 MB / 0.5252 GB, free: 9.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.484, allocations: 51.88 kB / 0.5252 GB, free: 9.371 MB / 446.1 MB Notification: Performance of pre-optimization done (n=157): time 5.129e-06/0.484, allocations: 3.984 kB / 0.5252 GB, free: 9.367 MB / 446.1 MB Notification: Performance of matching and sorting (n=160): time 0.01265/0.4967, allocations: 6.364 MB / 0.5314 GB, free: 2.855 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.4967, allocations: 72.7 kB / 0.5315 GB, free: 2.773 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003749/0.5005, allocations: 2.316 MB / 0.5338 GB, free: 444 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002169/0.5007, allocations: 49.7 kB / 0.5338 GB, free: 388 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2085/0.7091, allocations: 1.91 MB / 0.5357 GB, free: 99.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007536/0.7099, allocations: 0.58 MB / 0.5362 GB, free: 98.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008301/0.7107, allocations: 401.4 kB / 0.5366 GB, free: 98.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.813e-05/0.7108, allocations: 301.9 kB / 0.5369 GB, free: 98.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00158/0.7123, allocations: 0.8569 MB / 0.5378 GB, free: 97.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/0.7141, allocations: 1.567 MB / 0.5393 GB, free: 96.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003083/0.7172, allocations: 2.583 MB / 0.5418 GB, free: 95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-05/0.7172, allocations: 10.66 kB / 0.5418 GB, free: 95 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004851/0.7221, allocations: 2.982 MB / 0.5447 GB, free: 93.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.7221, allocations: 19.53 kB / 0.5447 GB, free: 93.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-05/0.7221, allocations: 23.62 kB / 0.5448 GB, free: 93.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004083/0.7225, allocations: 176.5 kB / 0.5449 GB, free: 93.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/0.7243, allocations: 0.5348 MB / 0.5455 GB, free: 93.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.7262, allocations: 2.435 MB / 0.5478 GB, free: 91.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.728, allocations: 113.5 kB / 0.5479 GB, free: 91.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.7282, allocations: 98.77 kB / 0.548 GB, free: 91.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001905/0.7301, allocations: 1.194 MB / 0.5492 GB, free: 90.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004794/0.7306, allocations: 260.6 kB / 0.5495 GB, free: 90.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003864/0.7344, allocations: 2.519 MB / 0.5519 GB, free: 89.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.7344, allocations: 15.53 kB / 0.5519 GB, free: 89.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.7344, allocations: 7.234 kB / 0.5519 GB, free: 89.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.7345, allocations: 7.312 kB / 0.5519 GB, free: 89.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007984/0.7424, allocations: 5.902 MB / 0.5577 GB, free: 86.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.7425, allocations: 3.625 kB / 0.5577 GB, free: 86.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/0.7436, allocations: 282 kB / 0.558 GB, free: 86.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000751/0.7443, allocations: 362.1 kB / 0.5583 GB, free: 86.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.98e-05/0.7444, allocations: 45.38 kB / 0.5584 GB, free: 86.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005174/0.7496, allocations: 7.394 MB / 0.5656 GB, free: 78.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.7496, allocations: 11.95 kB / 0.5656 GB, free: 78.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004721/0.7543, allocations: 3.661 MB / 0.5692 GB, free: 75.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/0.7554, allocations: 0.5071 MB / 0.5697 GB, free: 74.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002815/0.7557, allocations: 32 kB / 0.5697 GB, free: 74.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.7568, allocations: 83.92 kB / 0.5698 GB, free: 74.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002407/0.757, allocations: 121.1 kB / 0.5699 GB, free: 74.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/0.7571, allocations: 47.92 kB / 0.5699 GB, free: 74.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001921/0.759, allocations: 1.573 MB / 0.5715 GB, free: 72.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.759, allocations: 0 / 0.5715 GB, free: 72.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002203/0.7612, allocations: 0.6745 MB / 0.5721 GB, free: 72.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004744/0.766, allocations: 4.29 MB / 0.5763 GB, free: 67.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003239/0.7692, allocations: 2.231 MB / 0.5785 GB, free: 65.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.7692, allocations: 448 / 0.5785 GB, free: 65.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001763/0.771, allocations: 1.416 MB / 0.5799 GB, free: 63.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/0.7734, allocations: 0.6061 MB / 0.5805 GB, free: 63.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03403/0.8074, allocations: 24.47 MB / 0.6044 GB, free: 37.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00274/0.8102, allocations: 2.679 MB / 0.607 GB, free: 35.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001754/0.8119, allocations: 0.5474 MB / 0.6075 GB, free: 34.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001778/0.8137, allocations: 1.483 MB / 0.609 GB, free: 33.24 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.8137, allocations: 0 / 0.609 GB, free: 33.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1161/0.9298, allocations: 60.77 MB / 0.6683 GB, free: 4.996 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/16.07, allocations: 0 / 0.6683 GB, free: 4.996 MB / 478.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.621642297832295] Failed to read output from testmodel.py, exit status != 0: ['time', 'smee.excitation.electroMagneticConverter.Phi.re', 'smee.inertiaRotor.phi', 'smee.inertiaRotor.w', 'smee.is[1]', 'smee.is[2]', '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'] 16.189452852122486 16.203978092 15.823359488 Calling exit ...