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.001211/0.001211, allocations: 97.62 kB / 16.93 MB, free: 6.445 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.001516/0.001516, allocations: 185.7 kB / 17.83 MB, free: 6.012 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.527/1.527, allocations: 205.4 MB / 224 MB, free: 13.19 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.0006212/0.0006213, allocations: 8.781 kB / 280.8 MB, free: 3.664 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1184, allocations: 47.58 MB / 328.4 MB, free: 4.02 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.007151/0.1256, allocations: 6.362 MB / 334.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0052/0.1309, allocations: 2.497 MB / 337.3 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008641/0.1318, allocations: 23.94 kB / 337.3 MB, free: 11.1 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.1332, allocations: 469.7 kB / 337.8 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.1346, allocations: 470.7 kB / 338.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.1351, allocations: 147.8 kB / 338.4 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001798/0.1369, allocations: 1.01 MB / 339.4 MB, free: 9.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007117/0.1377, allocations: 431.2 kB / 339.8 MB, free: 8.582 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000533/0.1382, allocations: 422.2 kB / 340.2 MB, free: 8.168 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004793/0.1387, allocations: 461.8 kB / 340.7 MB, free: 7.715 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.786e-05/0.1388, allocations: 56 kB / 340.7 MB, free: 7.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/0.1391, allocations: 107.9 kB / 340.8 MB, free: 7.555 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.1392, allocations: 179.2 kB / 341 MB, free: 7.379 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.1395, allocations: 257.1 kB / 341.3 MB, free: 7.121 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.1406, allocations: 1.285 MB / 342.5 MB, free: 5.832 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1406, allocations: 4 kB / 342.5 MB, free: 5.828 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.1406, allocations: 0 / 342.5 MB, free: 5.828 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.1407, allocations: 0 / 342.5 MB, free: 5.828 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.001985/0.1427, allocations: 1.238 MB / 343.8 MB, free: 4.535 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1427, allocations: 8.031 kB / 343.8 MB, free: 4.527 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001784/0.1429, allocations: 152.1 kB / 343.9 MB, free: 4.371 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004016/0.1433, allocations: 146.5 kB / 344.1 MB, free: 4.227 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009908/0.1444, allocations: 0.6911 MB / 344.8 MB, free: 3.492 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.361e-05/0.1445, allocations: 74 kB / 344.8 MB, free: 3.418 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.1446, allocations: 104 kB / 344.9 MB, free: 3.316 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.1461, allocations: 0.9034 MB / 345.8 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.1462, allocations: 15.91 kB / 345.9 MB, free: 2.371 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.144e-05/0.1463, allocations: 36 kB / 345.9 MB, free: 2.336 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.903e-05/0.1463, allocations: 24 kB / 345.9 MB, free: 2.312 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.1475, allocations: 0.6363 MB / 346.6 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005116/0.1527, allocations: 3.874 MB / 350.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005707/0.1532, allocations: 355.6 kB / 350.8 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.1533, allocations: 8.516 kB / 350.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.1533, allocations: 38.56 kB / 350.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.515e-06/0.1533, allocations: 4 kB / 350.8 MB, free: 13.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002284/0.1556, allocations: 1.217 MB / 352 MB, free: 11.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.1557, allocations: 81.11 kB / 352.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009939/0.1567, allocations: 0.7666 MB / 352.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.1568, allocations: 29.7 kB / 352.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004279/0.1572, allocations: 0.564 MB / 353.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.1573, allocations: 134.1 kB / 353.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.1573, allocations: 20 kB / 353.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1575, allocations: 334 kB / 354 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.1578, allocations: 145.9 kB / 354.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005184/0.1584, allocations: 464 kB / 354.6 MB, free: 9.137 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003935/0.1588, allocations: 227.4 kB / 354.8 MB, free: 8.914 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1588, allocations: 4 kB / 354.8 MB, free: 8.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001082/0.1599, allocations: 0.6926 MB / 355.5 MB, free: 8.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1599, allocations: 8 kB / 355.5 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.1599, allocations: 12 kB / 355.5 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001536/0.1601, allocations: 41.03 kB / 355.5 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.1606, allocations: 167.7 kB / 355.7 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.1616, allocations: 1.299 MB / 357 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/0.162, allocations: 35.98 kB / 357 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.1621, allocations: 32 kB / 357.1 MB, free: 6.477 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.0003771/0.1625, allocations: 269.7 kB / 357.3 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.1626, allocations: 82.97 kB / 357.4 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007039/0.1633, allocations: 382.1 kB / 357.8 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1633, allocations: 8 kB / 357.8 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1633, allocations: 4 kB / 357.8 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.1633, allocations: 3.984 kB / 357.8 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.1651, allocations: 1.25 MB / 359 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1651, allocations: 4.031 kB / 359.1 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.1655, allocations: 79.89 kB / 359.1 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.132e-05/0.1655, allocations: 16.86 kB / 359.1 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.1656, allocations: 12 kB / 359.2 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008943/0.1665, allocations: 1.276 MB / 360.4 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.1665, allocations: 7.969 kB / 360.4 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.1675, allocations: 0.7255 MB / 361.2 MB, free: 2.051 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.1677, allocations: 184.1 kB / 361.3 MB, free: 1.852 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-05/0.1678, allocations: 8 kB / 361.4 MB, free: 1.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003207/0.1682, allocations: 27.98 kB / 361.4 MB, free: 1.816 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.289e-05/0.1682, allocations: 27.92 kB / 361.4 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.1683, allocations: 19.98 kB / 361.4 MB, free: 1.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006234/0.1689, allocations: 0.5029 MB / 361.9 MB, free: 1.273 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1689, allocations: 0 / 361.9 MB, free: 1.273 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000765/0.1697, allocations: 192 kB / 362.1 MB, free: 1.086 MB / 302.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.00156/0.1712, allocations: 1.771 MB / 363.9 MB, free: 15.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009601/0.1722, allocations: 0.5202 MB / 364.4 MB, free: 14.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1722, allocations: 192 / 364.4 MB, free: 14.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003997/0.1726, allocations: 274.5 kB / 364.7 MB, free: 14.42 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009015/0.1736, allocations: 191.8 kB / 364.9 MB, free: 14.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.1845, allocations: 11.73 MB / 376.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005962/0.1851, allocations: 1.016 MB / 377.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004679/0.1856, allocations: 102.7 kB / 377.7 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003938/0.186, allocations: 367.3 kB / 378.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of SimCode: time 9.62e-07/0.186, allocations: 0 / 378.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2352/0.4213, allocations: 15.84 MB / 393.9 MB, free: 47.2 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.4215, allocations: 210 kB / 394.1 MB, free: 46.96 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.029/2.451, allocations: 0 / 394.1 MB, free: 46.96 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