Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.961/1.961, allocations: 194.8 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003497, allocations: 8 kB / 264.1 MB, free: 3.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3303, allocations: 44.51 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.156/0.4863, allocations: 88.7 MB / 397.3 MB, free: 3.848 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/0.4867, allocations: 87.95 kB / 397.4 MB, free: 3.762 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3749/0.8615, allocations: 22.96 MB / 420.3 MB, free: 86.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.8616, allocations: 0 / 420.3 MB, free: 86.92 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.143e-05/0.8617, allocations: 17.81 kB / 420.3 MB, free: 86.92 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002505/0.8642, allocations: 1.096 MB / 421.4 MB, free: 86.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.8643, allocations: 10.44 kB / 421.4 MB, free: 86.29 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002085/0.8645, allocations: 124.9 kB / 421.6 MB, free: 86.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.8655, allocations: 149.2 kB / 421.7 MB, free: 86.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.8674, allocations: 0.686 MB / 422.4 MB, free: 85.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.878e-05/0.8675, allocations: 61.14 kB / 422.5 MB, free: 85.9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.8676, allocations: 84.22 kB / 422.5 MB, free: 85.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/0.8696, allocations: 0.7704 MB / 423.3 MB, free: 85.78 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/0.8696, allocations: 3.438 kB / 423.3 MB, free: 85.78 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.88e-05/0.8697, allocations: 31.75 kB / 423.3 MB, free: 85.78 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.8698, allocations: 19.41 kB / 423.4 MB, free: 85.78 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.8713, allocations: 0.537 MB / 423.9 MB, free: 85.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00575/0.877, allocations: 3.461 MB / 427.4 MB, free: 84.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.8778, allocations: 229.4 kB / 427.6 MB, free: 84.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.8779, allocations: 7.125 kB / 427.6 MB, free: 84.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.8779, allocations: 42.66 kB / 427.6 MB, free: 84.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 3.256e-06/0.8779, allocations: 0 / 427.6 MB, free: 84.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.003018/0.881, allocations: 1.073 MB / 428.7 MB, free: 83.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.881, allocations: 84.8 kB / 428.8 MB, free: 83.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.8821, allocations: 0.6118 MB / 429.4 MB, free: 83.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.8822, allocations: 32.05 kB / 429.4 MB, free: 83.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/0.8825, allocations: 0.4986 MB / 429.9 MB, free: 82.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.212e-05/0.8826, allocations: 109.2 kB / 430 MB, free: 82.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.8827, allocations: 10.69 kB / 430 MB, free: 82.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.8828, allocations: 381.2 kB / 430.4 MB, free: 82.61 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004528/0.8833, allocations: 129.1 kB / 430.5 MB, free: 82.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000541/0.8838, allocations: 424.9 kB / 431 MB, free: 82.15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005348/0.8844, allocations: 204 kB / 431.2 MB, free: 82.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.8844, allocations: 3.969 kB / 431.2 MB, free: 82.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00158/0.886, allocations: 0.6271 MB / 431.8 MB, free: 81.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.886, allocations: 9.844 kB / 431.8 MB, free: 81.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.8861, allocations: 10.44 kB / 431.8 MB, free: 81.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002027/0.8863, allocations: 35.09 kB / 431.8 MB, free: 81.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007949/0.8871, allocations: 150.6 kB / 432 MB, free: 81.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000985/0.8881, allocations: 1.291 MB / 433.3 MB, free: 80.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008894/0.889, allocations: 42.69 kB / 433.3 MB, free: 80.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/0.8891, allocations: 31.12 kB / 433.4 MB, free: 80.46 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (74): * Single equations (assignments): 73 * 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.0005016/0.8896, allocations: 238.8 kB / 433.6 MB, free: 80.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.8897, allocations: 68.47 kB / 433.7 MB, free: 80.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009944/0.8908, allocations: 344.5 kB / 434 MB, free: 80.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.8908, allocations: 7.672 kB / 434 MB, free: 80.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.8908, allocations: 0 / 434 MB, free: 80.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.8908, allocations: 7.891 kB / 434 MB, free: 80.06 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.8931, allocations: 1.091 MB / 435.1 MB, free: 79.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.8932, allocations: 0 / 435.1 MB, free: 79.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/0.8937, allocations: 66.27 kB / 435.2 MB, free: 79.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001418/0.8938, allocations: 24.28 kB / 435.2 MB, free: 79.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.8939, allocations: 7.969 kB / 435.2 MB, free: 79.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008907/0.8948, allocations: 1.281 MB / 436.5 MB, free: 78.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.8948, allocations: 7.781 kB / 436.5 MB, free: 78.08 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.8962, allocations: 0.659 MB / 437.1 MB, free: 77.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/0.8966, allocations: 166.2 kB / 437.3 MB, free: 77.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.8967, allocations: 13.95 kB / 437.3 MB, free: 77.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005233/0.8973, allocations: 25.28 kB / 437.3 MB, free: 77.44 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/0.8974, allocations: 25.8 kB / 437.4 MB, free: 77.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.8974, allocations: 14.97 kB / 437.4 MB, free: 77.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008453/0.8982, allocations: 475.7 kB / 437.8 MB, free: 77.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.8983, allocations: 3.625 kB / 437.8 MB, free: 77.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001064/0.8993, allocations: 196.6 kB / 438 MB, free: 77.19 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * 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 (27): * Single equations (assignments): 26 * 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.002087/0.9014, allocations: 1.862 MB / 439.9 MB, free: 75.67 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.9028, allocations: 477.8 kB / 440.4 MB, free: 75.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.9028, allocations: 0 / 440.4 MB, free: 75.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005471/0.9034, allocations: 245.5 kB / 440.6 MB, free: 75.29 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.9048, allocations: 166 kB / 440.8 MB, free: 75.24 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.9151, allocations: 10.78 MB / 451.5 MB, free: 66.19 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.9156, allocations: 0.968 MB / 452.5 MB, free: 65.46 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006063/0.9162, allocations: 90.11 kB / 452.6 MB, free: 65.45 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004738/0.9167, allocations: 305.7 kB / 452.9 MB, free: 65.21 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.9167, allocations: 0 / 452.9 MB, free: 65.21 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05193/0.9686, allocations: 16.74 MB / 469.6 MB, free: 51.38 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002971/0.969, allocations: 219.7 kB / 469.9 MB, free: 51.13 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.171/4.14, allocations: 0 / 469.9 MB, free: 51.13 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat does not exist to compare? outputFormat=mat