Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 97.31 kB / 16.95 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 182.5 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004437, allocations: 15.44 kB / 280.9 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0958/0.09625, allocations: 47.56 MB / 328.4 MB, free: 3.98 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.007725/0.104, allocations: 6.991 MB / 335.4 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004406/0.1085, allocations: 2.461 MB / 337.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006219/0.1091, allocations: 23.94 kB / 337.9 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.1103, allocations: 465.4 kB / 338.4 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000878/0.1112, allocations: 373.2 kB / 338.7 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.1116, allocations: 151.8 kB / 338.9 MB, free: 9.488 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001267/0.1129, allocations: 1.284 MB / 340.2 MB, free: 8.199 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006482/0.1136, allocations: 431.2 kB / 340.6 MB, free: 7.762 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006004/0.1142, allocations: 449.9 kB / 341 MB, free: 7.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005379/0.1147, allocations: 489.6 kB / 341.5 MB, free: 6.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.1148, allocations: 64 kB / 341.6 MB, free: 6.777 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.1151, allocations: 99.97 kB / 341.7 MB, free: 6.68 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.1153, allocations: 187.1 kB / 341.9 MB, free: 6.496 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.1155, allocations: 253.1 kB / 342.1 MB, free: 6.242 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.1167, allocations: 1.336 MB / 343.4 MB, free: 4.902 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.1168, allocations: 0 / 343.4 MB, free: 4.902 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.1168, allocations: 0 / 343.4 MB, free: 4.902 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.819e-05/0.1168, allocations: 0 / 343.4 MB, free: 4.902 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002175/0.119, allocations: 1.254 MB / 344.7 MB, free: 3.594 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.1191, allocations: 8.031 kB / 344.7 MB, free: 3.586 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001808/0.1192, allocations: 148.1 kB / 344.8 MB, free: 3.434 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005391/0.1198, allocations: 170.5 kB / 345 MB, free: 3.266 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.121, allocations: 0.699 MB / 345.7 MB, free: 2.523 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.271e-05/0.121, allocations: 70 kB / 345.8 MB, free: 2.453 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.1212, allocations: 96 kB / 345.9 MB, free: 2.359 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.1229, allocations: 0.9229 MB / 346.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.689e-05/0.1229, allocations: 11.91 kB / 346.8 MB, free: 1.398 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.393e-05/0.123, allocations: 36 kB / 346.8 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.123, allocations: 24 kB / 346.9 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.1243, allocations: 0.6363 MB / 347.5 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005415/0.1297, allocations: 3.921 MB / 351.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006049/0.1304, allocations: 367.6 kB / 351.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.1307, allocations: 153.3 kB / 351.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.1307, allocations: 3.984 kB / 351.9 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.1307, allocations: 38.52 kB / 352 MB, free: 11.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.856e-06/0.1308, allocations: 4 kB / 352 MB, free: 11.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.003018/0.1338, allocations: 1.221 MB / 353.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/0.1339, allocations: 81.11 kB / 353.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.1352, allocations: 0.8174 MB / 354.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.1353, allocations: 33.7 kB / 354.1 MB, free: 9.691 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005148/0.1358, allocations: 0.5679 MB / 354.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.1359, allocations: 130.2 kB / 354.8 MB, free: 8.984 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.136, allocations: 12 kB / 354.8 MB, free: 8.973 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.1362, allocations: 334 kB / 355.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004536/0.1366, allocations: 157.9 kB / 355.3 MB, free: 8.488 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008214/0.1374, allocations: 456 kB / 355.8 MB, free: 7.902 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004356/0.1379, allocations: 235.3 kB / 356 MB, free: 7.672 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.1379, allocations: 3.953 kB / 356 MB, free: 7.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001367/0.1393, allocations: 0.6965 MB / 356.7 MB, free: 6.961 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.1393, allocations: 8 kB / 356.7 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/0.1393, allocations: 23.91 kB / 356.7 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001738/0.1395, allocations: 32.86 kB / 356.8 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004856/0.14, allocations: 167.9 kB / 356.9 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.1412, allocations: 1.288 MB / 358.2 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/0.1417, allocations: 40.05 kB / 358.2 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/0.1418, allocations: 32 kB / 358.3 MB, free: 5.234 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * 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.0004947/0.1423, allocations: 265.4 kB / 358.5 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/0.1426, allocations: 86.97 kB / 358.6 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008889/0.1435, allocations: 390.2 kB / 359 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1435, allocations: 0 / 359 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1435, allocations: 4 kB / 359 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1435, allocations: 4 kB / 359 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.1455, allocations: 1.281 MB / 360.3 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1455, allocations: 0 / 360.3 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/0.1458, allocations: 84.11 kB / 360.4 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.592e-05/0.1459, allocations: 20.86 kB / 360.4 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.1459, allocations: 8 kB / 360.4 MB, free: 3.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/0.1474, allocations: 1.276 MB / 361.7 MB, free: 1.598 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.1474, allocations: 3.938 kB / 361.7 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.1487, allocations: 0.6472 MB / 362.3 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002851/0.149, allocations: 188.1 kB / 362.5 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.475e-05/0.1491, allocations: 11.94 kB / 362.5 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.1494, allocations: 35.97 kB / 362.6 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.429e-05/0.1495, allocations: 28.02 kB / 362.6 MB, free: 0.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.1495, allocations: 12 kB / 362.6 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007777/0.1503, allocations: 0.5537 MB / 363.1 MB, free: 68 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1503, allocations: 0 / 363.1 MB, free: 68 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008349/0.1512, allocations: 188.1 kB / 363.3 MB, free: 15.88 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.001624/0.1528, allocations: 1.207 MB / 364.5 MB, free: 14.62 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.154, allocations: 0.5266 MB / 365.1 MB, free: 14.08 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.154, allocations: 0 / 365.1 MB, free: 14.08 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005354/0.1546, allocations: 272.5 kB / 365.3 MB, free: 13.8 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.1557, allocations: 210.8 kB / 365.5 MB, free: 13.6 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.1659, allocations: 5.106 MB / 370.6 MB, free: 8.203 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006938/0.1667, allocations: 0.9923 MB / 371.6 MB, free: 7.184 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004739/0.1671, allocations: 106.9 kB / 371.7 MB, free: 7.074 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004549/0.1676, allocations: 363.3 kB / 372.1 MB, free: 6.719 MB / 318.1 MB Notification: Performance of SimCode: time 1.393e-06/0.1676, allocations: 0 / 372.1 MB, free: 6.719 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2405/0.4081, allocations: 16.41 MB / 388.5 MB, free: 47.29 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.4084, allocations: 219.3 kB / 388.7 MB, free: 47.05 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/2.903, allocations: 0 / 388.7 MB, free: 47.05 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat does not exist to compare? outputFormat=mat