Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",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.001062/0.001062, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001006/0.001006, allocations: 198 kB / 18.07 MB, free: 5.41 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.392/1.392, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001736/0.001736, allocations: 56.14 kB / 280.1 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1122, allocations: 46.62 MB / 326.7 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.009778/0.122, allocations: 8.75 MB / 335.4 MB, free: 12 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005282/0.1273, allocations: 2.856 MB / 338.3 MB, free: 9.129 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.1286, allocations: 39.81 kB / 338.3 MB, free: 9.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.1302, allocations: 0.5361 MB / 338.9 MB, free: 8.551 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.1322, allocations: 0.6294 MB / 339.5 MB, free: 7.918 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000652/0.1328, allocations: 299.6 kB / 339.8 MB, free: 7.625 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002898/0.1357, allocations: 2.569 MB / 342.4 MB, free: 5.043 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001743/0.1375, allocations: 1.402 MB / 343.8 MB, free: 3.598 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.1389, allocations: 0.8833 MB / 344.7 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.1403, allocations: 1.241 MB / 345.9 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002791/0.1406, allocations: 168 kB / 346.1 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006398/0.1413, allocations: 263.8 kB / 346.3 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006831/0.142, allocations: 0.6621 MB / 347 MB, free: 388 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.1431, allocations: 1.096 MB / 348.1 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00272/0.1458, allocations: 3.407 MB / 351.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1458, allocations: 0 / 351.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1458, allocations: 0 / 351.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.719e-05/0.1459, allocations: 0 / 351.5 MB, free: 11.86 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.004744/0.1507, allocations: 2.485 MB / 354 MB, free: 9.316 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.1507, allocations: 11.97 kB / 354 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003388/0.1511, allocations: 266 kB / 354.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006052/0.1517, allocations: 250.3 kB / 354.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.1535, allocations: 1.22 MB / 355.7 MB, free: 7.523 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.583e-05/0.1536, allocations: 135.9 kB / 355.8 MB, free: 7.391 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002523/0.1539, allocations: 187.8 kB / 356 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003602/0.1575, allocations: 2.371 MB / 358.4 MB, free: 4.801 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.584e-05/0.1576, allocations: 4 kB / 358.4 MB, free: 4.797 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/0.1577, allocations: 75.98 kB / 358.5 MB, free: 4.723 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.399e-05/0.1578, allocations: 91.5 kB / 358.6 MB, free: 4.633 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003073/0.1609, allocations: 1.97 MB / 360.5 MB, free: 2.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01117/0.1721, allocations: 7.144 MB / 367.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.174, allocations: 1.264 MB / 368.9 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/0.1755, allocations: 0.8705 MB / 369.8 MB, free: 9.125 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/0.1757, allocations: 122.1 kB / 369.9 MB, free: 8.988 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.1758, allocations: 51.44 kB / 370 MB, free: 8.926 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 3.156e-06/0.1758, allocations: 0 / 370 MB, free: 8.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01312/0.1889, allocations: 5.889 MB / 375.9 MB, free: 2.898 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.189, allocations: 60.41 kB / 375.9 MB, free: 2.828 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.1911, allocations: 1.218 MB / 377.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.885e-05/0.1912, allocations: 41.7 kB / 377.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006477/0.1918, allocations: 0.869 MB / 378.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/0.1921, allocations: 366.7 kB / 378.4 MB, free: 312 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003474/0.1925, allocations: 218.8 kB / 378.6 MB, free: 84 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.1909/0.3835, allocations: 354.2 kB / 379 MB, free: 52.71 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.3851, allocations: 0.6096 MB / 379.6 MB, free: 52.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.3863, allocations: 0.9189 MB / 380.5 MB, free: 52.28 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002575/0.3889, allocations: 1.645 MB / 382.1 MB, free: 51.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.3889, allocations: 2.281 kB / 382.1 MB, free: 51.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00404/0.393, allocations: 2.217 MB / 384.4 MB, free: 50.54 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.393, allocations: 9.406 kB / 384.4 MB, free: 50.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.3931, allocations: 8.922 kB / 384.4 MB, free: 50.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.3942, allocations: 480.1 kB / 384.8 MB, free: 50.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009898/0.3952, allocations: 267.4 kB / 385.1 MB, free: 50.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00629/0.4015, allocations: 6.44 MB / 391.5 MB, free: 45.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.4028, allocations: 84.14 kB / 391.6 MB, free: 45.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.4029, allocations: 51.86 kB / 391.7 MB, free: 45.35 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001185/0.4041, allocations: 0.6002 MB / 392.3 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003092/0.4044, allocations: 131.9 kB / 392.4 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003238/0.4077, allocations: 2.022 MB / 394.4 MB, free: 44.13 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.4077, allocations: 11.88 kB / 394.4 MB, free: 44.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.4077, allocations: 6.344 kB / 394.5 MB, free: 44.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.4077, allocations: 7.688 kB / 394.5 MB, free: 44.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005923/0.4137, allocations: 4.237 MB / 398.7 MB, free: 42.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.4137, allocations: 3.938 kB / 398.7 MB, free: 42.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006424/0.4143, allocations: 176.4 kB / 398.9 MB, free: 42.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001156/0.4155, allocations: 0.518 MB / 399.4 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.73e-05/0.4156, allocations: 35.77 kB / 399.4 MB, free: 42.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005487/0.4211, allocations: 7.894 MB / 407.3 MB, free: 35.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4211, allocations: 7.844 kB / 407.3 MB, free: 35.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003609/0.4247, allocations: 2.949 MB / 410.3 MB, free: 32.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005728/0.4253, allocations: 343.4 kB / 410.6 MB, free: 31.99 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/0.4256, allocations: 35.92 kB / 410.6 MB, free: 31.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008188/0.4264, allocations: 75.92 kB / 410.7 MB, free: 31.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/0.4266, allocations: 96.75 kB / 410.8 MB, free: 31.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.777e-05/0.4267, allocations: 28.55 kB / 410.8 MB, free: 31.76 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001199/0.4279, allocations: 0.8382 MB / 411.7 MB, free: 30.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4279, allocations: 4 kB / 411.7 MB, free: 30.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001549/0.4294, allocations: 409.5 kB / 412.1 MB, free: 30.51 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (89): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004092/0.4335, allocations: 3.565 MB / 415.6 MB, free: 26.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003051/0.4366, allocations: 2.153 MB / 417.8 MB, free: 24.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4366, allocations: 7.781 kB / 417.8 MB, free: 24.61 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001729/0.4384, allocations: 1.484 MB / 419.3 MB, free: 23.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/0.4402, allocations: 362.6 kB / 419.6 MB, free: 22.71 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02323/0.4634, allocations: 16.99 MB / 436.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/0.4647, allocations: 1.638 MB / 438.3 MB, free: 3.129 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009202/0.4656, allocations: 299.4 kB / 438.6 MB, free: 2.836 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007397/0.4664, allocations: 0.6867 MB / 439.3 MB, free: 2.148 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4664, allocations: 0 / 439.3 MB, free: 2.148 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0654/0.5318, allocations: 35.61 MB / 474.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/0.5321, allocations: 259.8 kB / 475.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.524/3.056, allocations: 0 / 475.1 MB, free: 14.11 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Inverter/AIMC_Inverter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches