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_Steinmetz.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: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001561, allocations: 180.2 kB / 16.41 MB, free: 5.707 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.43/1.43, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.000945/0.000945, allocations: 93.03 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003258, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2128, allocations: 47.57 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.007169/0.22, allocations: 8.522 MB / 383.1 MB, free: 38.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004466/0.2245, allocations: 2.896 MB / 386 MB, free: 36.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008092/0.2254, allocations: 38.34 kB / 386 MB, free: 36.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.2265, allocations: 0.5077 MB / 386.5 MB, free: 35.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.2278, allocations: 0.6243 MB / 387.1 MB, free: 35.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005368/0.2284, allocations: 250.9 kB / 387.4 MB, free: 35.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002051/0.2305, allocations: 2.486 MB / 389.9 MB, free: 33.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.2315, allocations: 1.205 MB / 391.1 MB, free: 32.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000816/0.2324, allocations: 0.8326 MB / 391.9 MB, free: 31.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009416/0.2333, allocations: 1.09 MB / 393 MB, free: 30.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.2335, allocations: 127.9 kB / 393.1 MB, free: 30.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004093/0.2339, allocations: 191.9 kB / 393.3 MB, free: 30.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003894/0.2343, allocations: 0.588 MB / 393.9 MB, free: 29.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.2346, allocations: 460.5 kB / 394.4 MB, free: 28.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.2362, allocations: 2.914 MB / 397.3 MB, free: 26.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2362, allocations: 0 / 397.3 MB, free: 26.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2362, allocations: 0 / 397.3 MB, free: 26.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.93e-05/0.2363, allocations: 0 / 397.3 MB, free: 26.04 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.003269/0.2395, allocations: 2.209 MB / 399.5 MB, free: 23.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2396, allocations: 8.031 kB / 399.5 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005428/0.2401, allocations: 265.1 kB / 399.7 MB, free: 23.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.2417, allocations: 1.209 MB / 401 MB, free: 22.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.559e-05/0.2418, allocations: 151.8 kB / 401.1 MB, free: 22.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/0.242, allocations: 187.9 kB / 401.3 MB, free: 21.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003047/0.2451, allocations: 2.411 MB / 403.7 MB, free: 19.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.434e-05/0.2451, allocations: 3.906 kB / 403.7 MB, free: 19.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.2453, allocations: 83.94 kB / 403.8 MB, free: 19.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.869e-05/0.2453, allocations: 91.67 kB / 403.9 MB, free: 19.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002538/0.2479, allocations: 1.951 MB / 405.8 MB, free: 17.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008638/0.2565, allocations: 7.887 MB / 413.7 MB, free: 9.199 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.2578, allocations: 1.225 MB / 414.9 MB, free: 7.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.2592, allocations: 0.9488 MB / 415.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/0.2595, allocations: 130 kB / 416 MB, free: 6.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.2595, allocations: 47.52 kB / 416.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of pre-optimization done (n=95): time 3.918e-06/0.2595, allocations: 0 / 416.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=111): time 0.0102/0.2697, allocations: 5.919 MB / 422 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.2698, allocations: 68.41 kB / 422 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.2714, allocations: 1.298 MB / 423.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.854e-05/0.2715, allocations: 45.7 kB / 423.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006623/0.2721, allocations: 0.9199 MB / 424.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/0.2724, allocations: 386.4 kB / 424.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.2725, allocations: 28 kB / 424.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2727, allocations: 357.9 kB / 425.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000957/0.2736, allocations: 0.6364 MB / 425.7 MB, free: 12.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.2749, allocations: 0.9964 MB / 426.7 MB, free: 11.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.276, allocations: 0.7877 MB / 427.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.276, allocations: 7.953 kB / 427.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00352/0.2795, allocations: 2.241 MB / 429.7 MB, free: 8.754 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.2796, allocations: 8 kB / 429.7 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.2796, allocations: 12 kB / 429.7 MB, free: 8.734 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.2808, allocations: 0.4884 MB / 430.2 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.2818, allocations: 299.5 kB / 430.5 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006576/0.2884, allocations: 6.538 MB / 437.1 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.2896, allocations: 83.83 kB / 437.1 MB, free: 0.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.845e-05/0.2897, allocations: 59.98 kB / 437.2 MB, free: 0.8594 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001109/0.2908, allocations: 0.6028 MB / 437.8 MB, free: 252 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/0.291, allocations: 146.2 kB / 438 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003304/0.2944, allocations: 1.965 MB / 439.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.2944, allocations: 12 kB / 439.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.2944, allocations: 4 kB / 439.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.2944, allocations: 7.969 kB / 439.9 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006309/0.3007, allocations: 4.133 MB / 444.1 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.3008, allocations: 7.953 kB / 444.1 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007868/0.3015, allocations: 183.8 kB / 444.3 MB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/0.303, allocations: 0.5388 MB / 444.8 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.26e-05/0.3031, allocations: 27.98 kB / 444.8 MB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007332/0.3104, allocations: 8.043 MB / 452.9 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.3104, allocations: 7.938 kB / 452.9 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004339/0.3148, allocations: 2.85 MB / 455.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006792/0.3155, allocations: 355.2 kB / 456.1 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.3156, allocations: 31.98 kB / 456.1 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007295/0.3164, allocations: 67.92 kB / 456.2 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/0.3166, allocations: 96.86 kB / 456.3 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.658e-05/0.3167, allocations: 31.98 kB / 456.3 MB, free: 13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001233/0.3179, allocations: 0.8799 MB / 457.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3179, allocations: 0 / 457.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001458/0.3194, allocations: 436 kB / 457.6 MB, free: 11.69 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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%) 1,(2,100.0%) 8,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002936/0.3197, allocations: 139.1 kB / 457.7 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003244/0.3229, allocations: 2.235 MB / 460 MB, free: 9.227 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3229, allocations: 5.938 kB / 460 MB, free: 9.223 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002084/0.325, allocations: 1.506 MB / 461.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.3268, allocations: 403.6 kB / 461.9 MB, free: 7.258 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006516/0.3333, allocations: 4.961 MB / 466.8 MB, free: 2.234 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/0.3346, allocations: 1.638 MB / 468.5 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003584/0.335, allocations: 103.4 kB / 468.6 MB, free: 472 kB / 346.7 MB Notification: Performance of SimCode: time 7.21e-07/0.335, allocations: 0 / 468.6 MB, free: 472 kB / 346.7 MB Notification: Performance of Templates: time 0.2215/0.5565, allocations: 70.33 MB / 0.5263 GB, free: 81.05 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches