Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.0008792/0.0008792, allocations: 175.9 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.242/1.242, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006614/0.0006614, allocations: 89 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000277/0.000277, allocations: 12 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1949, allocations: 47.57 MB / 375.2 MB, free: 45.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.006206/0.2011, allocations: 7.769 MB / 383 MB, free: 39.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004055/0.2052, allocations: 2.707 MB / 385.7 MB, free: 37.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000715/0.2059, allocations: 36.28 kB / 385.7 MB, free: 37.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.207, allocations: 488.8 kB / 386.2 MB, free: 36.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.2083, allocations: 0.6178 MB / 386.8 MB, free: 36.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.2087, allocations: 206.4 kB / 387 MB, free: 36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002015/0.2108, allocations: 2.345 MB / 389.3 MB, free: 34.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.212, allocations: 1.4 MB / 390.7 MB, free: 32.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009852/0.213, allocations: 0.7743 MB / 391.5 MB, free: 32.19 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009844/0.214, allocations: 1.07 MB / 392.6 MB, free: 31.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.2141, allocations: 116 kB / 392.7 MB, free: 31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004398/0.2146, allocations: 219.8 kB / 392.9 MB, free: 30.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004216/0.215, allocations: 0.5802 MB / 393.5 MB, free: 30.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007248/0.2158, allocations: 0.9931 MB / 394.5 MB, free: 29.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.2173, allocations: 2.832 MB / 397.3 MB, free: 26.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2174, allocations: 0 / 397.3 MB, free: 26.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2174, allocations: 0 / 397.3 MB, free: 26.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.923e-05/0.2174, allocations: 0 / 397.3 MB, free: 26.36 MB / 298.7 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.003163/0.2206, allocations: 2.111 MB / 399.4 MB, free: 24.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.2206, allocations: 12.03 kB / 399.4 MB, free: 24.18 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002698/0.2209, allocations: 270 kB / 399.7 MB, free: 23.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004832/0.2214, allocations: 258.1 kB / 400 MB, free: 23.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.2229, allocations: 1.212 MB / 401.2 MB, free: 22.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.937e-05/0.223, allocations: 139.9 kB / 401.3 MB, free: 22.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/0.2232, allocations: 179.9 kB / 401.5 MB, free: 22.08 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003099/0.2263, allocations: 2.367 MB / 403.9 MB, free: 19.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.806e-05/0.2264, allocations: 11.83 kB / 403.9 MB, free: 19.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.2265, allocations: 72 kB / 403.9 MB, free: 19.6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.005e-05/0.2266, allocations: 87.52 kB / 404 MB, free: 19.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002656/0.2293, allocations: 1.966 MB / 406 MB, free: 17.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008522/0.2378, allocations: 7.191 MB / 413.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.2393, allocations: 1.284 MB / 414.5 MB, free: 8.816 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/0.2405, allocations: 0.8814 MB / 415.3 MB, free: 7.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/0.2407, allocations: 118.1 kB / 415.5 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.2408, allocations: 47.56 kB / 415.5 MB, free: 7.738 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 3.176e-06/0.2408, allocations: 4 kB / 415.5 MB, free: 7.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.0109/0.2517, allocations: 5.984 MB / 421.5 MB, free: 1.617 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.2518, allocations: 64.41 kB / 421.6 MB, free: 1.543 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.2532, allocations: 1.207 MB / 422.8 MB, free: 332 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.795e-05/0.2532, allocations: 45.69 kB / 422.8 MB, free: 280 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005555/0.2538, allocations: 0.8613 MB / 423.7 MB, free: 15.4 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/0.2541, allocations: 370.7 kB / 424 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.532e-05/0.2542, allocations: 24 kB / 424.1 MB, free: 15.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2543, allocations: 353.9 kB / 424.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009697/0.2553, allocations: 0.6155 MB / 425 MB, free: 14.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.2565, allocations: 0.9313 MB / 425.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002265/0.2588, allocations: 1.647 MB / 427.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2588, allocations: 4 kB / 427.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003605/0.2624, allocations: 2.231 MB / 429.8 MB, free: 8.926 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.2624, allocations: 8.25 kB / 429.8 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.2625, allocations: 19.94 kB / 429.9 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.2635, allocations: 467.9 kB / 430.3 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009165/0.2645, allocations: 271.6 kB / 430.6 MB, free: 8.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006024/0.2705, allocations: 6.44 MB / 437 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.2715, allocations: 83.92 kB / 437.1 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.392e-05/0.2716, allocations: 47.98 kB / 437.1 MB, free: 1.195 MB / 314.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009727/0.2726, allocations: 0.6105 MB / 437.8 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.2728, allocations: 134.3 kB / 437.9 MB, free: 452 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003358/0.2762, allocations: 2.024 MB / 439.9 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.2762, allocations: 12 kB / 439.9 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.2762, allocations: 4 kB / 439.9 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.2762, allocations: 3.984 kB / 439.9 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006429/0.2827, allocations: 4.241 MB / 444.2 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/0.2827, allocations: 11.92 kB / 444.2 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006877/0.2834, allocations: 179.7 kB / 444.4 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00127/0.2847, allocations: 0.5115 MB / 444.9 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.432e-05/0.2848, allocations: 35.98 kB / 444.9 MB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007067/0.2919, allocations: 7.907 MB / 452.8 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.2919, allocations: 4.312 kB / 452.8 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00422/0.2961, allocations: 2.974 MB / 455.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005455/0.2967, allocations: 347.3 kB / 456.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.2968, allocations: 31.98 kB / 456.2 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007034/0.2975, allocations: 79.92 kB / 456.2 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/0.2978, allocations: 92.75 kB / 456.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.119e-05/0.2979, allocations: 35.98 kB / 456.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00111/0.299, allocations: 0.8226 MB / 457.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.299, allocations: 0 / 457.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001259/0.3003, allocations: 424 kB / 457.6 MB, free: 11.86 MB / 346.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004619/0.3049, allocations: 3.592 MB / 461.2 MB, free: 8.152 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003208/0.3081, allocations: 2.164 MB / 463.4 MB, free: 5.902 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.3081, allocations: 4 kB / 463.4 MB, free: 5.898 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002106/0.3102, allocations: 1.496 MB / 464.9 MB, free: 4.336 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/0.3124, allocations: 353.9 kB / 465.2 MB, free: 3.992 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02033/0.3328, allocations: 11.76 MB / 477 MB, free: 7.691 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/0.3345, allocations: 1.614 MB / 478.6 MB, free: 6.039 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/0.3357, allocations: 0.6906 MB / 479.3 MB, free: 5.348 MB / 362.7 MB Notification: Performance of SimCode: time 1.183e-06/0.3357, allocations: 0 / 479.3 MB, free: 5.348 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.876/6.211, allocations: 73.43 MB / 0.5397 GB, free: 66.2 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches