Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009647/0.0009651, allocations: 95.88 kB / 16.95 MB, free: 6.457 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.0008895/0.0008897, allocations: 182.5 kB / 17.84 MB, free: 6.008 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.91/1.91, allocations: 205.4 MB / 224 MB, free: 13.15 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.0005551/0.0005554, allocations: 8 kB / 280.8 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1281, allocations: 47.59 MB / 328.4 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.0109/0.1391, allocations: 8.498 MB / 336.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009186/0.1484, allocations: 3.271 MB / 340.1 MB, free: 8.262 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002581/0.1511, allocations: 39.81 kB / 340.2 MB, free: 8.223 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002629/0.1537, allocations: 0.5321 MB / 340.7 MB, free: 7.688 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004261/0.158, allocations: 0.7032 MB / 341.4 MB, free: 6.98 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.1602, allocations: 323.4 kB / 341.7 MB, free: 6.664 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005215/0.1654, allocations: 2.74 MB / 344.5 MB, free: 3.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003202/0.1686, allocations: 1.284 MB / 345.7 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002461/0.1711, allocations: 0.9182 MB / 346.7 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003655/0.1748, allocations: 1.327 MB / 348 MB, free: 348 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001255/0.1761, allocations: 136 kB / 348.1 MB, free: 212 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/0.1783, allocations: 339.7 kB / 348.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00155/0.1799, allocations: 0.7982 MB / 349.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.1814, allocations: 0.5119 MB / 349.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005594/0.187, allocations: 3.378 MB / 353.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.295e-05/0.187, allocations: 3.984 kB / 353.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.228e-06/0.187, allocations: 0 / 353.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003376/0.1874, allocations: 0 / 353.1 MB, free: 11.16 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.009527/0.1969, allocations: 2.718 MB / 355.9 MB, free: 8.379 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.197, allocations: 8.031 kB / 355.9 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/0.199, allocations: 324.3 kB / 356.2 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00529/0.2043, allocations: 1.526 MB / 357.7 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002231/0.2046, allocations: 156 kB / 357.9 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001013/0.2056, allocations: 207.9 kB / 358.1 MB, free: 6.113 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007811/0.2134, allocations: 2.69 MB / 360.8 MB, free: 3.344 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.989e-05/0.2135, allocations: 3.906 kB / 360.8 MB, free: 3.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002195/0.2138, allocations: 91.94 kB / 360.9 MB, free: 3.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/0.2139, allocations: 95.92 kB / 360.9 MB, free: 3.156 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004604/0.2185, allocations: 2.291 MB / 363.2 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0155/0.234, allocations: 8.271 MB / 371.5 MB, free: 8.391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003182/0.2373, allocations: 1.631 MB / 373.1 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001993/0.2393, allocations: 1.098 MB / 374.2 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003077/0.2396, allocations: 134.1 kB / 374.4 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/0.2397, allocations: 43.56 kB / 374.4 MB, free: 5.398 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.888e-06/0.2397, allocations: 0 / 374.4 MB, free: 5.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.3087/0.5484, allocations: 6.245 MB / 380.7 MB, free: 49.9 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.5485, allocations: 68.97 kB / 380.7 MB, free: 49.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004951/0.5535, allocations: 2.144 MB / 382.9 MB, free: 49.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003554/0.5538, allocations: 46.28 kB / 382.9 MB, free: 49.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001016/0.5549, allocations: 1.105 MB / 384 MB, free: 49 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004975/0.5554, allocations: 459 kB / 384.5 MB, free: 48.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.294e-05/0.5555, allocations: 33.08 kB / 384.5 MB, free: 48.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5556, allocations: 357.2 kB / 384.8 MB, free: 48.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.5573, allocations: 0.7647 MB / 385.6 MB, free: 48.1 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/0.5591, allocations: 1.021 MB / 386.6 MB, free: 47.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.5608, allocations: 0.8975 MB / 387.5 MB, free: 47.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-05/0.5609, allocations: 6.016 kB / 387.5 MB, free: 47.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006568/0.5675, allocations: 2.777 MB / 390.3 MB, free: 46.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.793e-05/0.5676, allocations: 11.22 kB / 390.3 MB, free: 46.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.293e-05/0.5676, allocations: 7.562 kB / 390.3 MB, free: 46.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002539/0.5701, allocations: 0.7842 MB / 391.1 MB, free: 45.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.5715, allocations: 285.9 kB / 391.4 MB, free: 45.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/0.5822, allocations: 8.738 MB / 400.1 MB, free: 40.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.5841, allocations: 94.42 kB / 400.2 MB, free: 40.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/0.5843, allocations: 58.64 kB / 400.3 MB, free: 40.61 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001467/0.5857, allocations: 0.7409 MB / 401 MB, free: 40.13 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003945/0.5861, allocations: 198.8 kB / 401.2 MB, free: 40.03 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00427/0.5904, allocations: 2.504 MB / 403.7 MB, free: 38.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-05/0.5905, allocations: 19.59 kB / 403.7 MB, free: 38.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.82e-05/0.5905, allocations: 10.06 kB / 403.7 MB, free: 38.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.116e-05/0.5905, allocations: 7.969 kB / 403.8 MB, free: 38.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007892/0.5984, allocations: 4.963 MB / 408.7 MB, free: 33.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.5985, allocations: 4 kB / 408.7 MB, free: 33.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008929/0.5994, allocations: 219.9 kB / 408.9 MB, free: 33.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001419/0.6008, allocations: 0.6488 MB / 409.6 MB, free: 33.05 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.6009, allocations: 35.97 kB / 409.6 MB, free: 33.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007188/0.6081, allocations: 7.915 MB / 417.5 MB, free: 24.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.6081, allocations: 0 / 417.5 MB, free: 24.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005658/0.6138, allocations: 3.565 MB / 421.1 MB, free: 21.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/0.615, allocations: 438.6 kB / 421.5 MB, free: 20.67 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005443/0.6156, allocations: 31.98 kB / 421.6 MB, free: 20.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.6168, allocations: 95.86 kB / 421.7 MB, free: 20.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002987/0.6171, allocations: 104.8 kB / 421.8 MB, free: 20.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.6172, allocations: 47.47 kB / 421.8 MB, free: 20.4 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002441/0.6197, allocations: 1.504 MB / 423.3 MB, free: 18.87 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.014e-06/0.6197, allocations: 0 / 423.3 MB, free: 18.87 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00247/0.6222, allocations: 0.5281 MB / 423.8 MB, free: 18.35 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001177/0.6234, allocations: 428.9 kB / 424.3 MB, free: 17.96 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00404/0.6274, allocations: 2.392 MB / 426.6 MB, free: 15.55 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.6274, allocations: 0 / 426.6 MB, free: 15.55 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002198/0.6296, allocations: 1.609 MB / 428.3 MB, free: 13.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/0.6323, allocations: 422.4 kB / 428.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008677/0.6409, allocations: 6.022 MB / 434.7 MB, free: 7.402 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001701/0.6427, allocations: 1.955 MB / 436.6 MB, free: 5.414 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001361/0.6441, allocations: 387.6 kB / 437 MB, free: 5.031 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003518/0.6444, allocations: 135.4 kB / 437.2 MB, free: 4.898 MB / 318.1 MB Notification: Performance of SimCode: time 1.443e-06/0.6444, allocations: 0 / 437.2 MB, free: 4.898 MB / 318.1 MB Notification: Performance of Templates: time 0.05871/0.7031, allocations: 27.69 MB / 464.8 MB, free: 9.176 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_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_withLosses/AIMC_withLosses.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches