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.001017/0.001021, allocations: 101.4 kB / 16.94 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.0008627/0.0008627, allocations: 184.8 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.422/1.422, 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.0004563/0.0004563, allocations: 8 kB / 280.8 MB, free: 3.66 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1127, allocations: 47.58 MB / 328.4 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.008514/0.1213, allocations: 7.264 MB / 335.7 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005789/0.1271, allocations: 3.069 MB / 338.8 MB, free: 9.633 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009696/0.1281, allocations: 35.81 kB / 338.8 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.1295, allocations: 0.5676 MB / 339.4 MB, free: 9.027 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.1314, allocations: 0.6387 MB / 340 MB, free: 8.387 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006903/0.1321, allocations: 215.6 kB / 340.2 MB, free: 8.176 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001877/0.134, allocations: 1.396 MB / 341.6 MB, free: 6.777 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.1351, allocations: 0.949 MB / 342.6 MB, free: 5.797 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000747/0.1359, allocations: 0.6577 MB / 343.2 MB, free: 5.137 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009642/0.1369, allocations: 0.8171 MB / 344 MB, free: 4.316 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.137, allocations: 104 kB / 344.1 MB, free: 4.215 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003867/0.1374, allocations: 175.8 kB / 344.3 MB, free: 4.043 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005282/0.138, allocations: 0.4908 MB / 344.8 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003673/0.1383, allocations: 396.7 kB / 345.2 MB, free: 3.156 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.1405, allocations: 2.466 MB / 347.6 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1406, allocations: 8 kB / 347.7 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1406, allocations: 0 / 347.7 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.32e-05/0.1406, allocations: 0 / 347.7 MB, free: 0.6758 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.00341/0.144, allocations: 1.934 MB / 349.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.1441, allocations: 11.97 kB / 349.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003125/0.1444, allocations: 236.1 kB / 349.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005609/0.145, allocations: 237.2 kB / 350.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.1469, allocations: 1.114 MB / 351.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.213e-05/0.147, allocations: 123.1 kB / 351.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002217/0.1472, allocations: 151.9 kB / 351.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003004/0.1502, allocations: 1.981 MB / 353.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.156e-05/0.1503, allocations: 7.844 kB / 353.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.1504, allocations: 68 kB / 353.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.369e-05/0.1505, allocations: 78.91 kB / 353.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002615/0.1531, allocations: 1.639 MB / 355.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009297/0.1625, allocations: 6.944 MB / 362.2 MB, free: 1.656 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000768/0.1633, allocations: 445 kB / 362.6 MB, free: 1.211 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002235/0.1635, allocations: 117.5 kB / 362.7 MB, free: 1.078 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.1635, allocations: 39 kB / 362.7 MB, free: 1.031 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.645e-06/0.1636, allocations: 4 kB / 362.8 MB, free: 1.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.006697/0.1703, allocations: 3.292 MB / 366 MB, free: 13.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002343/0.1726, allocations: 2.209 MB / 368.3 MB, free: 11.28 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.1746, allocations: 1.584 MB / 369.8 MB, free: 9.688 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.923e-05/0.1747, allocations: 37.7 kB / 369.9 MB, free: 9.645 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007185/0.1754, allocations: 1.022 MB / 370.9 MB, free: 8.609 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.1756, allocations: 240.8 kB / 371.1 MB, free: 8.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.1757, allocations: 32 kB / 371.2 MB, free: 8.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1759, allocations: 369.9 kB / 371.5 MB, free: 7.973 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007304/0.1766, allocations: 0.5153 MB / 372 MB, free: 7.457 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.178, allocations: 1.449 MB / 373.5 MB, free: 5.539 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.1791, allocations: 0.7892 MB / 374.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/0.1791, allocations: 16 kB / 374.3 MB, free: 4.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003147/0.1823, allocations: 2.146 MB / 376.4 MB, free: 2.574 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.1823, allocations: 16 kB / 376.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.158e-05/0.1823, allocations: 36 kB / 376.5 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005159/0.1828, allocations: 230.8 kB / 376.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.1839, allocations: 395.3 kB / 377.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.1855, allocations: 1.745 MB / 378.8 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2132/0.3988, allocations: 126.7 kB / 379 MB, free: 49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003231/0.3992, allocations: 97.42 kB / 379.1 MB, free: 49 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.001509/0.4007, allocations: 0.5841 MB / 379.6 MB, free: 48.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005679/0.4013, allocations: 150 kB / 379.8 MB, free: 48.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/0.4038, allocations: 1.109 MB / 380.9 MB, free: 48.8 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.4038, allocations: 8.344 kB / 380.9 MB, free: 48.8 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4038, allocations: 1.156 kB / 380.9 MB, free: 48.8 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.4039, allocations: 4.672 kB / 380.9 MB, free: 48.8 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006466/0.4103, allocations: 3.36 MB / 384.3 MB, free: 47.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.4104, allocations: 6.594 kB / 384.3 MB, free: 47.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/0.4108, allocations: 110.5 kB / 384.4 MB, free: 47.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006837/0.4115, allocations: 234.7 kB / 384.6 MB, free: 47.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.183e-05/0.4116, allocations: 18.39 kB / 384.6 MB, free: 47.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003689/0.4153, allocations: 3.755 MB / 388.4 MB, free: 44.74 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001929/0.4172, allocations: 2.046 MB / 390.4 MB, free: 43.04 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003082/0.4203, allocations: 2.057 MB / 392.5 MB, free: 41.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007429/0.4211, allocations: 307.4 kB / 392.8 MB, free: 41.53 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/0.4213, allocations: 16.81 kB / 392.8 MB, free: 41.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006442/0.4219, allocations: 52.73 kB / 392.9 MB, free: 41.51 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.4221, allocations: 60.62 kB / 392.9 MB, free: 41.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.138e-05/0.4221, allocations: 26.86 kB / 392.9 MB, free: 41.49 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001636/0.4238, allocations: 1.049 MB / 394 MB, free: 41.08 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4238, allocations: 0 / 394 MB, free: 41.08 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001904/0.4257, allocations: 381.8 kB / 394.4 MB, free: 41.05 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.002879/0.4286, allocations: 4.019 MB / 398.4 MB, free: 37.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002541/0.4312, allocations: 1.587 MB / 400 MB, free: 37.1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.4312, allocations: 0 / 400 MB, free: 37.1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.4324, allocations: 0.845 MB / 400.8 MB, free: 36.6 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.4342, allocations: 386.7 kB / 401.2 MB, free: 36.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02357/0.4578, allocations: 33.62 MB / 434.8 MB, free: 4.426 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009237/0.4588, allocations: 1.508 MB / 436.3 MB, free: 2.887 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001207/0.46, allocations: 354.3 kB / 436.7 MB, free: 2.535 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006865/0.4607, allocations: 0.6211 MB / 437.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of SimCode: time 1.433e-06/0.4607, allocations: 0 / 437.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0682/0.5289, allocations: 33.67 MB / 471 MB, free: 200 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003148/0.5293, allocations: 255.2 kB / 471.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.448/2.978, allocations: 0 / 471.2 MB, free: 15.88 MB / 366.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