Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",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.0008868/0.0008866, allocations: 99.56 kB / 16.95 MB, free: 6.453 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.001114/0.001114, allocations: 182.5 kB / 17.84 MB, free: 6.004 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.8/1.8, allocations: 205.4 MB / 224 MB, free: 13.16 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.0007774/0.0007777, allocations: 8 kB / 280.9 MB, free: 3.617 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.137, allocations: 47.57 MB / 328.5 MB, free: 3.977 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01098/0.1481, allocations: 8.263 MB / 336.7 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007915/0.1561, allocations: 2.853 MB / 339.6 MB, free: 8.812 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/0.1581, allocations: 39.81 kB / 339.6 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002213/0.1604, allocations: 0.5009 MB / 340.1 MB, free: 8.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00343/0.1638, allocations: 0.6604 MB / 340.8 MB, free: 7.605 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.1652, allocations: 235.6 kB / 341 MB, free: 7.375 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0048/0.17, allocations: 2.778 MB / 343.8 MB, free: 4.582 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002513/0.1726, allocations: 1.335 MB / 345.1 MB, free: 3.215 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002215/0.1748, allocations: 0.8988 MB / 346 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002956/0.1778, allocations: 1.245 MB / 347.3 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009756/0.1788, allocations: 139.9 kB / 347.4 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.1804, allocations: 199.9 kB / 347.6 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00145/0.1819, allocations: 0.6853 MB / 348.3 MB, free: 44 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001356/0.1833, allocations: 0.4927 MB / 348.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004913/0.1882, allocations: 3.261 MB / 352 MB, free: 12.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.1883, allocations: 4 kB / 352 MB, free: 12.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.1883, allocations: 0 / 352 MB, free: 12.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001673/0.1884, allocations: 0 / 352 MB, free: 12.27 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.008249/0.1967, allocations: 2.44 MB / 354.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.799e-05/0.1968, allocations: 12.03 kB / 354.5 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001896/0.1987, allocations: 299.2 kB / 354.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002251/0.201, allocations: 292.7 kB / 355.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004498/0.2055, allocations: 1.383 MB / 356.4 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/0.2058, allocations: 148 kB / 356.6 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007635/0.2066, allocations: 207.9 kB / 356.8 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007493/0.2141, allocations: 2.728 MB / 359.5 MB, free: 4.551 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/0.2143, allocations: 11.91 kB / 359.5 MB, free: 4.539 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002327/0.2145, allocations: 80 kB / 359.6 MB, free: 4.461 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001575/0.2147, allocations: 99.88 kB / 359.7 MB, free: 4.363 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00604/0.2207, allocations: 2.326 MB / 362 MB, free: 2.035 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02063/0.2414, allocations: 8.462 MB / 370.5 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/0.2439, allocations: 1.787 MB / 372.3 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001956/0.2458, allocations: 1.066 MB / 373.4 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003065/0.2462, allocations: 122 kB / 373.5 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.2462, allocations: 43.56 kB / 373.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.577e-06/0.2462, allocations: 0 / 373.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.2388/0.4851, allocations: 6.379 MB / 379.9 MB, free: 50.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.4852, allocations: 64.16 kB / 380 MB, free: 50.15 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003213/0.4884, allocations: 1.506 MB / 381.5 MB, free: 50 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003457/0.4888, allocations: 46.64 kB / 381.5 MB, free: 49.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001077/0.4899, allocations: 0.9855 MB / 382.5 MB, free: 49.81 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004508/0.4903, allocations: 413.7 kB / 382.9 MB, free: 49.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-05/0.4904, allocations: 29.38 kB / 382.9 MB, free: 49.47 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4906, allocations: 363.7 kB / 383.3 MB, free: 49.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.492, allocations: 0.7363 MB / 384 MB, free: 48.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.4935, allocations: 1.058 MB / 385.1 MB, free: 48.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.495, allocations: 0.8894 MB / 386 MB, free: 47.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.495, allocations: 3.031 kB / 386 MB, free: 47.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004649/0.4997, allocations: 2.357 MB / 388.3 MB, free: 47.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.4998, allocations: 7.75 kB / 388.3 MB, free: 47.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.4998, allocations: 9.703 kB / 388.3 MB, free: 47.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.5008, allocations: 413.4 kB / 388.7 MB, free: 46.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.5022, allocations: 329.5 kB / 389.1 MB, free: 46.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00624/0.5084, allocations: 4.656 MB / 393.7 MB, free: 43.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.5104, allocations: 94.8 kB / 393.8 MB, free: 43.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/0.5106, allocations: 51.08 kB / 393.9 MB, free: 43.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: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001587/0.5122, allocations: 0.7168 MB / 394.6 MB, free: 42.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005173/0.5127, allocations: 160.8 kB / 394.7 MB, free: 42.88 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004225/0.5169, allocations: 2.149 MB / 396.9 MB, free: 42.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.517, allocations: 11.19 kB / 396.9 MB, free: 42.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.517, allocations: 3.25 kB / 396.9 MB, free: 42.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.885e-05/0.517, allocations: 11.3 kB / 396.9 MB, free: 42.04 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00796/0.525, allocations: 4.588 MB / 401.5 MB, free: 39.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.5251, allocations: 3.625 kB / 401.5 MB, free: 39.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009137/0.526, allocations: 223.1 kB / 401.7 MB, free: 39.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/0.5273, allocations: 474 kB / 402.2 MB, free: 39.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.5274, allocations: 31.89 kB / 402.2 MB, free: 39.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005125/0.5325, allocations: 6.148 MB / 408.4 MB, free: 33.96 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.5326, allocations: 7.781 kB / 408.4 MB, free: 33.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004526/0.5371, allocations: 3.202 MB / 411.6 MB, free: 30.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/0.5382, allocations: 403 kB / 412 MB, free: 30.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.5384, allocations: 24 kB / 412 MB, free: 30.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000796/0.5392, allocations: 83.91 kB / 412.1 MB, free: 30.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003043/0.5395, allocations: 108.8 kB / 412.2 MB, free: 30.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.52e-05/0.5396, allocations: 35.98 kB / 412.2 MB, free: 30.04 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001656/0.5413, allocations: 1.032 MB / 413.2 MB, free: 29.01 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5413, allocations: 0 / 413.2 MB, free: 29.01 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002/0.5433, allocations: 462.6 kB / 413.7 MB, free: 28.56 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (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) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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: 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%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004526/0.5478, allocations: 3.801 MB / 417.5 MB, free: 24.7 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003558/0.5514, allocations: 2.271 MB / 419.8 MB, free: 22.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-05/0.5515, allocations: 4.125 kB / 419.8 MB, free: 22.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002131/0.5536, allocations: 1.499 MB / 421.3 MB, free: 20.8 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/0.5561, allocations: 420.8 kB / 421.7 MB, free: 20.39 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0239/0.58, allocations: 13.76 MB / 435.4 MB, free: 6.043 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/0.5816, allocations: 1.815 MB / 437.3 MB, free: 4.191 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001509/0.5831, allocations: 393.5 kB / 437.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/0.5842, allocations: 0.7961 MB / 438.4 MB, free: 3.004 MB / 318.1 MB Notification: Performance of SimCode: time 1.203e-06/0.5842, allocations: 0 / 438.4 MB, free: 3.004 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1095/0.6937, allocations: 40.07 MB / 478.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003708/0.6941, allocations: 247 kB / 478.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.429/4.123, allocations: 0 / 478.7 MB, free: 10.62 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat does not exist to compare? outputFormat=mat