Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 96.06 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 204.2 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002388/0.0002389, allocations: 8 kB / 306.7 MB, free: 1.234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1268, allocations: 51.49 MB / 358.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.006728/0.1335, allocations: 6.373 MB / 364.6 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003997/0.1376, allocations: 2.534 MB / 367.1 MB, free: 4.805 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005036/0.1381, allocations: 23.94 kB / 367.1 MB, free: 4.781 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.1391, allocations: 445.9 kB / 367.6 MB, free: 4.344 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008213/0.14, allocations: 466.6 kB / 368 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.1403, allocations: 151.8 kB / 368.2 MB, free: 3.738 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.1414, allocations: 0.8839 MB / 369.1 MB, free: 2.855 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005229/0.142, allocations: 404 kB / 369.5 MB, free: 2.438 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003674/0.1423, allocations: 366.5 kB / 369.8 MB, free: 2.078 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004186/0.1428, allocations: 410.1 kB / 370.2 MB, free: 1.676 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.759e-05/0.1428, allocations: 52 kB / 370.3 MB, free: 1.625 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.1431, allocations: 91.97 kB / 370.4 MB, free: 1.535 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1432, allocations: 155.3 kB / 370.5 MB, free: 1.383 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.1434, allocations: 221.2 kB / 370.7 MB, free: 1.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009092/0.1443, allocations: 1.094 MB / 371.8 MB, free: 64 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.1443, allocations: 0 / 371.8 MB, free: 64 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1443, allocations: 0 / 371.8 MB, free: 64 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.1443, allocations: 4 kB / 371.8 MB, free: 60 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.2183/0.3627, allocations: 1.135 MB / 373 MB, free: 19.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.353e-05/0.3627, allocations: 8.812 kB / 373 MB, free: 19.36 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002465/0.363, allocations: 131.7 kB / 373.1 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006906/0.3637, allocations: 174.5 kB / 373.3 MB, free: 19.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.3652, allocations: 0.6082 MB / 373.9 MB, free: 18.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.249e-05/0.3653, allocations: 66.36 kB / 373.9 MB, free: 18.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.3655, allocations: 83.31 kB / 374 MB, free: 18.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.3675, allocations: 0.8112 MB / 374.8 MB, free: 18.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.3676, allocations: 3.766 kB / 374.8 MB, free: 18.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.743e-05/0.3677, allocations: 36.28 kB / 374.9 MB, free: 18.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-05/0.3677, allocations: 20.84 kB / 374.9 MB, free: 18.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.3691, allocations: 0.5529 MB / 375.4 MB, free: 18.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005012/0.3742, allocations: 3.551 MB / 379 MB, free: 16.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005516/0.3747, allocations: 249.5 kB / 379.2 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.3748, allocations: 4.344 kB / 379.2 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.3748, allocations: 36.59 kB / 379.3 MB, free: 16.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 2.975e-06/0.3748, allocations: 0 / 379.3 MB, free: 16.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002292/0.3771, allocations: 1.099 MB / 380.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.3772, allocations: 82 kB / 380.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009495/0.3781, allocations: 0.6993 MB / 381.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.3782, allocations: 35.7 kB / 381.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/0.3785, allocations: 0.51 MB / 381.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.12e-05/0.3786, allocations: 111.1 kB / 381.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.3786, allocations: 14.81 kB / 381.8 MB, free: 14.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3788, allocations: 378.1 kB / 382.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.3791, allocations: 138.5 kB / 382.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/0.3795, allocations: 450.3 kB / 382.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.3799, allocations: 212 kB / 383 MB, free: 13.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.3799, allocations: 3.531 kB / 383 MB, free: 13.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001192/0.3811, allocations: 0.6532 MB / 383.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.3812, allocations: 10.41 kB / 383.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.3812, allocations: 13.73 kB / 383.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002185/0.3814, allocations: 39.38 kB / 383.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000553/0.382, allocations: 154.3 kB / 383.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000862/0.3829, allocations: 1.299 MB / 385.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005872/0.3835, allocations: 46.44 kB / 385.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.3835, allocations: 32.48 kB / 385.2 MB, free: 11.82 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003796/0.3839, allocations: 243.5 kB / 385.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.3841, allocations: 75.58 kB / 385.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007532/0.3848, allocations: 352.5 kB / 385.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3849, allocations: 3.031 kB / 385.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3849, allocations: 0 / 385.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.3849, allocations: 11.31 kB / 385.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.3866, allocations: 1.092 MB / 387 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3866, allocations: 2.969 kB / 387 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.3869, allocations: 71.59 kB / 387.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.184e-05/0.387, allocations: 25.55 kB / 387.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.387, allocations: 7.859 kB / 387.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006376/0.3877, allocations: 1.276 MB / 388.4 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.3877, allocations: 2.062 kB / 388.4 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009776/0.3887, allocations: 0.6745 MB / 389 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.3889, allocations: 168.9 kB / 389.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-05/0.389, allocations: 9.062 kB / 389.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/0.3894, allocations: 29.12 kB / 389.2 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/0.3894, allocations: 26.95 kB / 389.3 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.3895, allocations: 12.94 kB / 389.3 MB, free: 8.762 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007403/0.3902, allocations: 477.8 kB / 389.8 MB, free: 8.555 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3902, allocations: 0 / 389.8 MB, free: 8.555 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008914/0.3911, allocations: 171.6 kB / 389.9 MB, free: 8.535 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001382/0.3925, allocations: 1.717 MB / 391.6 MB, free: 7.043 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.3936, allocations: 486.5 kB / 392.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3936, allocations: 0 / 392.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003905/0.394, allocations: 257.6 kB / 392.4 MB, free: 6.656 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009477/0.395, allocations: 170.5 kB / 392.5 MB, free: 6.598 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009989/0.405, allocations: 11.48 MB / 404 MB, free: 12.83 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006452/0.4057, allocations: 0.9759 MB / 405 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005408/0.4062, allocations: 91.36 kB / 405.1 MB, free: 11.95 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/0.4066, allocations: 318.5 kB / 405.4 MB, free: 11.68 MB / 318.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4066, allocations: 0 / 405.4 MB, free: 11.68 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03419/0.4408, allocations: 14.14 MB / 419.5 MB, free: 292 kB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002476/0.4411, allocations: 220.1 kB / 419.7 MB, free: 48 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/2.569, allocations: 0 / 419.7 MB, free: 48 kB / 318.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat does not exist to compare? outputFormat=mat