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.0008405/0.0008407, allocations: 93.25 kB / 17.3 MB, free: 6.391 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.0008702/0.0008704, allocations: 172.9 kB / 18.2 MB, free: 5.551 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.767/1.767, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004918/0.000492, allocations: 8 kB / 281.5 MB, free: 3.312 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1129, allocations: 47.58 MB / 329.1 MB, free: 3.652 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.009774/0.1227, allocations: 8.236 MB / 337.3 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006187/0.129, allocations: 2.829 MB / 340.1 MB, free: 8.531 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.1302, allocations: 31.88 kB / 340.2 MB, free: 8.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.1319, allocations: 0.5399 MB / 340.7 MB, free: 7.957 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002341/0.1343, allocations: 0.6293 MB / 341.3 MB, free: 7.324 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007913/0.1351, allocations: 291.6 kB / 341.6 MB, free: 7.039 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003188/0.1383, allocations: 2.573 MB / 344.2 MB, free: 4.453 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00174/0.14, allocations: 1.394 MB / 345.6 MB, free: 3.016 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.1414, allocations: 0.774 MB / 346.4 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.1429, allocations: 1.113 MB / 347.5 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002289/0.1431, allocations: 116 kB / 347.6 MB, free: 1.008 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000541/0.1437, allocations: 215.8 kB / 347.8 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006243/0.1443, allocations: 0.5879 MB / 348.4 MB, free: 212 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.1455, allocations: 1.035 MB / 349.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003127/0.1487, allocations: 3.305 MB / 352.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1487, allocations: 0 / 352.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1487, allocations: 0 / 352.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.924e-05/0.1488, allocations: 0 / 352.7 MB, free: 11.84 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.005022/0.1538, allocations: 2.115 MB / 354.8 MB, free: 9.672 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.1539, allocations: 12.03 kB / 354.8 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004245/0.1543, allocations: 266 kB / 355.1 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006335/0.1549, allocations: 250.3 kB / 355.3 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/0.157, allocations: 1.22 MB / 356.6 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.1572, allocations: 139.9 kB / 356.7 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002803/0.1574, allocations: 183.8 kB / 356.9 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004626/0.1621, allocations: 2.374 MB / 359.3 MB, free: 5.152 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.038e-05/0.1622, allocations: 11.94 kB / 359.3 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002655/0.1624, allocations: 75.98 kB / 359.3 MB, free: 5.066 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001764/0.1626, allocations: 91.5 kB / 359.4 MB, free: 4.977 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004999/0.1677, allocations: 1.977 MB / 361.4 MB, free: 2.996 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01775/0.1854, allocations: 7.187 MB / 368.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00291/0.1884, allocations: 1.284 MB / 369.9 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002342/0.1908, allocations: 0.8698 MB / 370.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003334/0.1911, allocations: 130 kB / 370.9 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/0.1912, allocations: 47.56 kB / 370.9 MB, free: 9.191 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 4.569e-06/0.1913, allocations: 3.938 kB / 370.9 MB, free: 9.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01854/0.2098, allocations: 5.991 MB / 376.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.2099, allocations: 64.41 kB / 377 MB, free: 2.984 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002959/0.2129, allocations: 1.218 MB / 378.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.213, allocations: 49.64 kB / 378.3 MB, free: 1.699 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.2142, allocations: 0.8652 MB / 379.1 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004813/0.2147, allocations: 354.8 kB / 379.5 MB, free: 480 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.2149, allocations: 101.7 kB / 379.6 MB, free: 372 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.2151, allocations: 357.9 kB / 379.9 MB, free: 8 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1972/0.4123, allocations: 0.6182 MB / 380.5 MB, free: 50.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.4136, allocations: 0.9329 MB / 381.5 MB, free: 50.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002608/0.4162, allocations: 1.655 MB / 383.1 MB, free: 50.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.4162, allocations: 2.312 kB / 383.1 MB, free: 50.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004111/0.4203, allocations: 2.247 MB / 385.4 MB, free: 49.37 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.4204, allocations: 8.094 kB / 385.4 MB, free: 49.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/0.4204, allocations: 10.31 kB / 385.4 MB, free: 49.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.4217, allocations: 481 kB / 385.9 MB, free: 49.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009964/0.4227, allocations: 276.3 kB / 386.1 MB, free: 49.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006135/0.4288, allocations: 6.432 MB / 392.6 MB, free: 44.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.4301, allocations: 86.61 kB / 392.6 MB, free: 44.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.4302, allocations: 54.81 kB / 392.7 MB, free: 44.18 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.001381/0.4316, allocations: 0.5923 MB / 393.3 MB, free: 43.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/0.432, allocations: 138.9 kB / 393.4 MB, free: 43.83 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00358/0.4355, allocations: 2.039 MB / 395.5 MB, free: 42.96 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.4356, allocations: 15.36 kB / 395.5 MB, free: 42.96 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4356, allocations: 3.906 kB / 395.5 MB, free: 42.96 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.4356, allocations: 7.266 kB / 395.5 MB, free: 42.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006265/0.4419, allocations: 4.238 MB / 399.7 MB, free: 41.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.4419, allocations: 7.812 kB / 399.7 MB, free: 41.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006545/0.4426, allocations: 184.1 kB / 399.9 MB, free: 41.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001136/0.4437, allocations: 0.5247 MB / 400.4 MB, free: 40.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.586e-05/0.4438, allocations: 32.02 kB / 400.5 MB, free: 40.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005613/0.4494, allocations: 7.916 MB / 408.4 MB, free: 33.97 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4494, allocations: 7.938 kB / 408.4 MB, free: 33.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003679/0.4531, allocations: 2.968 MB / 411.4 MB, free: 30.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005913/0.4537, allocations: 347.3 kB / 411.7 MB, free: 30.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.4539, allocations: 32 kB / 411.7 MB, free: 30.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007031/0.4546, allocations: 79.92 kB / 411.8 MB, free: 30.45 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/0.4548, allocations: 96.69 kB / 411.9 MB, free: 30.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.84e-05/0.4548, allocations: 43.7 kB / 411.9 MB, free: 30.31 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001037/0.4559, allocations: 0.8343 MB / 412.8 MB, free: 29.47 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4559, allocations: 0 / 412.8 MB, free: 29.47 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001688/0.4576, allocations: 410.6 kB / 413.2 MB, free: 29.07 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.004099/0.4617, allocations: 3.604 MB / 416.8 MB, free: 25.37 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002952/0.4647, allocations: 2.161 MB / 418.9 MB, free: 23.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.4647, allocations: 4.25 kB / 419 MB, free: 23.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001774/0.4665, allocations: 1.496 MB / 420.4 MB, free: 21.55 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.4688, allocations: 370.7 kB / 420.8 MB, free: 21.2 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02104/0.4898, allocations: 17.18 MB / 438 MB, free: 3.102 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.491, allocations: 1.642 MB / 439.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008677/0.4918, allocations: 295.8 kB / 439.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007522/0.4926, allocations: 0.6867 MB / 440.6 MB, free: 456 kB / 318.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4926, allocations: 0 / 440.6 MB, free: 456 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06132/0.5539, allocations: 35.09 MB / 475.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.5542, allocations: 263.1 kB / 475.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.682/3.236, allocations: 3.953 kB / 475.9 MB, free: 12.96 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