Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009236/0.0009234, allocations: 96.83 kB / 17 MB, free: 6.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 193.4 kB / 17.91 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.3 MB / 246 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002314/0.0002314, allocations: 4 kB / 306.8 MB, free: 1.469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1231, allocations: 51.48 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.2131/0.3362, allocations: 15.19 MB / 373.5 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01009/0.3464, allocations: 5.255 MB / 378.8 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00258/0.349, allocations: 101.4 kB / 378.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003202/0.3522, allocations: 0.9626 MB / 379.8 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004446/0.3567, allocations: 1.303 MB / 381.1 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.3591, allocations: 0.7417 MB / 381.9 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008859/0.368, allocations: 5.045 MB / 386.9 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005733/0.3738, allocations: 2.734 MB / 389.7 MB, free: 6.504 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004651/0.3785, allocations: 1.582 MB / 391.2 MB, free: 5.855 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004919/0.3834, allocations: 2.041 MB / 393.3 MB, free: 5.027 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001606/0.3851, allocations: 252.3 kB / 393.5 MB, free: 5.027 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003406/0.3885, allocations: 483.5 kB / 394 MB, free: 4.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001824/0.3903, allocations: 0.9763 MB / 395 MB, free: 4.301 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002553/0.3929, allocations: 0.9061 MB / 395.9 MB, free: 3.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008117/0.401, allocations: 6.621 MB / 402.5 MB, free: 14.9 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4011, allocations: 4 kB / 402.5 MB, free: 14.9 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.4011, allocations: 0 / 402.5 MB, free: 14.9 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002747/0.4014, allocations: 2.625 kB / 402.5 MB, free: 14.9 MB / 318.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.01339/0.4148, allocations: 4.63 MB / 407.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.4148, allocations: 8.031 kB / 407.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002556/0.4174, allocations: 0.6097 MB / 407.8 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00668/0.4241, allocations: 1.027 MB / 408.8 MB, free: 9.738 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006551/0.4307, allocations: 2.765 MB / 411.5 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003606/0.4311, allocations: 312.1 kB / 411.8 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001264/0.4324, allocations: 390.2 kB / 412.2 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01307/0.4455, allocations: 5.214 MB / 417.4 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.773e-05/0.4456, allocations: 6.312 kB / 417.5 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004443/0.4461, allocations: 164 kB / 417.6 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002081/0.4463, allocations: 172 kB / 417.8 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/0.4574, allocations: 4.47 MB / 422.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03208/0.4896, allocations: 17.02 MB / 439.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007693/0.4973, allocations: 8.701 MB / 448 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003828/0.5012, allocations: 2.027 MB / 450 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00953/0.5107, allocations: 5.828 MB / 455.8 MB, free: 8.895 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.821e-05/0.5108, allocations: 55.81 kB / 455.9 MB, free: 8.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=157): time 4.208e-06/0.5108, allocations: 0 / 455.9 MB, free: 8.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=160): time 0.01311/0.524, allocations: 6.404 MB / 462.3 MB, free: 2.277 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.524, allocations: 72.66 kB / 462.4 MB, free: 2.195 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003571/0.5276, allocations: 2.307 MB / 464.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002321/0.5279, allocations: 53.7 kB / 464.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.5292, allocations: 1.854 MB / 466.6 MB, free: 13.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005355/0.5297, allocations: 0.5396 MB / 467.1 MB, free: 13.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.5299, allocations: 52 kB / 467.2 MB, free: 13.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.53, allocations: 386.2 kB / 467.5 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.5315, allocations: 0.867 MB / 468.4 MB, free: 12.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/0.5335, allocations: 1.578 MB / 470 MB, free: 10.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/0.5353, allocations: 1.138 MB / 471.1 MB, free: 9.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.5353, allocations: 8 kB / 471.1 MB, free: 9.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005377/0.5407, allocations: 2.993 MB / 474.1 MB, free: 6.016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.5408, allocations: 12 kB / 474.1 MB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.181e-05/0.5408, allocations: 24.53 kB / 474.2 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004345/0.5412, allocations: 185.5 kB / 474.3 MB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/0.5431, allocations: 0.5383 MB / 474.9 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.5455, allocations: 2.279 MB / 477.2 MB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/0.5476, allocations: 127.8 kB / 477.3 MB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.5478, allocations: 96 kB / 477.4 MB, free: 2.617 MB / 382.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002368/0.5502, allocations: 1.188 MB / 478.6 MB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005234/0.5507, allocations: 249 kB / 478.8 MB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004402/0.5551, allocations: 2.558 MB / 481.4 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.5552, allocations: 20 kB / 481.4 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.5552, allocations: 7.953 kB / 481.4 MB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/0.5552, allocations: 11.95 kB / 481.4 MB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/0.5661, allocations: 5.956 MB / 487.4 MB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.5661, allocations: 4 kB / 487.4 MB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.5674, allocations: 291.6 kB / 487.6 MB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00099/0.5684, allocations: 373 kB / 488 MB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/0.5685, allocations: 39.98 kB / 488 MB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007984/0.5765, allocations: 6.821 MB / 494.9 MB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/0.5766, allocations: 11.94 kB / 494.9 MB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006884/0.5834, allocations: 3.693 MB / 498.6 MB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00172/0.5852, allocations: 0.498 MB / 499.1 MB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000456/0.5857, allocations: 39.98 kB / 499.1 MB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.5868, allocations: 87.94 kB / 499.2 MB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000326/0.5871, allocations: 123.3 kB / 499.3 MB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.5872, allocations: 43.98 kB / 499.4 MB, free: 11.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002883/0.5901, allocations: 1.563 MB / 0.4892 GB, free: 10.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5902, allocations: 4 kB / 0.4892 GB, free: 10.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003262/0.5934, allocations: 0.6875 MB / 0.4899 GB, free: 9.684 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006395/0.5998, allocations: 4.341 MB / 0.4941 GB, free: 5.254 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003915/0.6038, allocations: 2.336 MB / 0.4964 GB, free: 2.887 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/0.6038, allocations: 4 kB / 0.4964 GB, free: 2.883 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002352/0.6062, allocations: 1.496 MB / 0.4978 GB, free: 1.348 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/0.6093, allocations: 0.5921 MB / 0.4984 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0431/0.6524, allocations: 20.92 MB / 0.5189 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002471/0.6549, allocations: 2.677 MB / 0.5215 GB, free: 7.645 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002071/0.657, allocations: 0.5435 MB / 0.522 GB, free: 7.098 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001932/0.6589, allocations: 1.468 MB / 0.5234 GB, free: 5.629 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6589, allocations: 7.938 kB / 0.5234 GB, free: 5.621 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2952/0.9541, allocations: 57.74 MB / 0.5798 GB, free: 112.9 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/0.9543, allocations: 270.7 kB / 0.5801 GB, free: 112.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.265/4.219, allocations: 4 kB / 0.5801 GB, free: 112.5 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat does not exist to compare? outputFormat=mat