Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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.SynchronousInductionMachines.SMPM_NoLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad",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.00125/0.001251, allocations: 94.44 kB / 16.95 MB, free: 5.922 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.001562/0.001562, allocations: 182.5 kB / 17.84 MB, free: 5.609 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.639/1.639, 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.0008179/0.0008185, allocations: 12 kB / 280.9 MB, free: 3.617 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.14, allocations: 47.57 MB / 328.5 MB, free: 3.977 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01174/0.1518, allocations: 7.932 MB / 336.4 MB, free: 12.01 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008668/0.1605, allocations: 3.009 MB / 339.4 MB, free: 8.988 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.1624, allocations: 31.88 kB / 339.4 MB, free: 8.957 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001876/0.1643, allocations: 0.5476 MB / 340 MB, free: 8.406 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002716/0.1671, allocations: 0.5982 MB / 340.6 MB, free: 7.805 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009399/0.168, allocations: 203.7 kB / 340.8 MB, free: 7.605 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00305/0.1711, allocations: 2.164 MB / 342.9 MB, free: 5.434 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.1729, allocations: 0.949 MB / 343.9 MB, free: 4.453 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/0.1743, allocations: 0.7198 MB / 344.6 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/0.176, allocations: 0.9456 MB / 345.5 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004365/0.1764, allocations: 104 kB / 345.6 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008052/0.1773, allocations: 175.8 kB / 345.8 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007577/0.178, allocations: 0.5257 MB / 346.3 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007412/0.1788, allocations: 396.7 kB / 346.7 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002795/0.1816, allocations: 2.493 MB / 349.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1816, allocations: 4 kB / 349.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1816, allocations: 0 / 349.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001212/0.1817, allocations: 0 / 349.2 MB, free: 15.08 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.004431/0.1862, allocations: 1.95 MB / 351.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1862, allocations: 8.031 kB / 351.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00062/0.1869, allocations: 228.1 kB / 351.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008208/0.1877, allocations: 229.4 kB / 351.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/0.19, allocations: 1.114 MB / 352.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.1902, allocations: 111.1 kB / 352.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003575/0.1905, allocations: 152 kB / 353 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003833/0.1944, allocations: 1.989 MB / 355 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.026e-05/0.1945, allocations: 15.83 kB / 355 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/0.1946, allocations: 60 kB / 355.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.433e-05/0.1947, allocations: 90.84 kB / 355.2 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00287/0.1976, allocations: 1.635 MB / 356.8 MB, free: 7.332 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01108/0.2087, allocations: 6.964 MB / 363.8 MB, free: 44 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008717/0.2096, allocations: 449 kB / 364.2 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004022/0.21, allocations: 262 kB / 364.4 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002293/0.2103, allocations: 117.5 kB / 364.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.2103, allocations: 39 kB / 364.6 MB, free: 15.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 3.146e-06/0.2103, allocations: 0 / 364.6 MB, free: 15.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.007902/0.2183, allocations: 3.292 MB / 367.9 MB, free: 11.78 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002584/0.2209, allocations: 2.174 MB / 370.1 MB, free: 9.441 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003326/0.2242, allocations: 1.604 MB / 371.7 MB, free: 7.828 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.2244, allocations: 37.7 kB / 371.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009319/0.2253, allocations: 1.022 MB / 372.7 MB, free: 6.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/0.2257, allocations: 236.8 kB / 373 MB, free: 6.516 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.364e-05/0.2258, allocations: 28 kB / 373 MB, free: 6.488 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.2259, allocations: 373.9 kB / 373.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009135/0.2269, allocations: 0.5075 MB / 373.9 MB, free: 5.609 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/0.2286, allocations: 1.465 MB / 375.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.23, allocations: 0.797 MB / 376.1 MB, free: 2.879 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-05/0.23, allocations: 12 kB / 376.1 MB, free: 2.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004446/0.2345, allocations: 2.146 MB / 378.3 MB, free: 0.707 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.557e-05/0.2346, allocations: 20 kB / 378.3 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.459e-05/0.2346, allocations: 32 kB / 378.3 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006124/0.2353, allocations: 230.4 kB / 378.6 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.2365, allocations: 391.3 kB / 378.9 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1992/0.4357, allocations: 1.708 MB / 380.6 MB, free: 47.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/0.4383, allocations: 135.5 kB / 380.8 MB, free: 47.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002674/0.4386, allocations: 97.5 kB / 380.9 MB, free: 47.44 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001472/0.4401, allocations: 0.5909 MB / 381.5 MB, free: 47.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004986/0.4406, allocations: 149.3 kB / 381.6 MB, free: 47.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002403/0.443, allocations: 1.106 MB / 382.7 MB, free: 47.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.443, allocations: 11.11 kB / 382.7 MB, free: 47.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4431, allocations: 0 / 382.7 MB, free: 47.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/0.4431, allocations: 3.75 kB / 382.7 MB, free: 47.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007012/0.4501, allocations: 3.376 MB / 386.1 MB, free: 46.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.4501, allocations: 4.875 kB / 386.1 MB, free: 46.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004447/0.4506, allocations: 112.7 kB / 386.2 MB, free: 46.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006934/0.4513, allocations: 236.6 kB / 386.5 MB, free: 46.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.136e-05/0.4514, allocations: 18.72 kB / 386.5 MB, free: 46.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004084/0.4555, allocations: 3.697 MB / 390.2 MB, free: 43.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001797/0.4573, allocations: 2.012 MB / 392.2 MB, free: 41.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002766/0.4601, allocations: 1.735 MB / 393.9 MB, free: 40.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006783/0.4607, allocations: 309 kB / 394.2 MB, free: 40.44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.4609, allocations: 20.36 kB / 394.2 MB, free: 40.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006356/0.4616, allocations: 53.39 kB / 394.3 MB, free: 40.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.4617, allocations: 66.03 kB / 394.4 MB, free: 40.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.385e-05/0.4618, allocations: 22.97 kB / 394.4 MB, free: 40.4 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002017/0.4638, allocations: 1.059 MB / 395.4 MB, free: 39.99 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4638, allocations: 3.906 kB / 395.4 MB, free: 39.99 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002084/0.4659, allocations: 380.4 kB / 395.8 MB, free: 39.95 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * 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 (57): * Single equations (assignments): 54 * 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: 2 * 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 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002857/0.4688, allocations: 2.319 MB / 398.1 MB, free: 38.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002685/0.4715, allocations: 1.589 MB / 399.7 MB, free: 37.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.4715, allocations: 0 / 399.7 MB, free: 37.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.4726, allocations: 0.8553 MB / 400.6 MB, free: 37.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.4745, allocations: 396 kB / 401 MB, free: 37.13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01775/0.4923, allocations: 11.04 MB / 412 MB, free: 27.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.4935, allocations: 1.465 MB / 413.5 MB, free: 26.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001167/0.4947, allocations: 358 kB / 413.8 MB, free: 25.74 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006912/0.4954, allocations: 0.6234 MB / 414.4 MB, free: 25.12 MB / 318.1 MB Notification: Performance of SimCode: time 1.693e-06/0.4954, allocations: 0 / 414.4 MB, free: 25.12 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06021/0.5556, allocations: 33.86 MB / 448.3 MB, free: 7.211 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/0.5559, allocations: 265 kB / 448.6 MB, free: 6.863 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.586/4.142, allocations: 0 / 448.6 MB, free: 6.863 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad_fmu --startTime=0 --stopTime=0.04 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat does not exist to compare? outputFormat=mat