Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",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.0009023/0.0009022, allocations: 99.19 kB / 16.96 MB, free: 6.043 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.0009331/0.0009332, allocations: 178.1 kB / 17.84 MB, free: 5.676 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.958/1.958, allocations: 205.4 MB / 224 MB, free: 13.06 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.000631/0.0006313, allocations: 12 kB / 280.9 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1451, allocations: 47.58 MB / 328.5 MB, free: 3.965 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01085/0.156, allocations: 8.533 MB / 337 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007445/0.1635, allocations: 2.885 MB / 339.9 MB, free: 8.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002042/0.1656, allocations: 39.81 kB / 339.9 MB, free: 8.461 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002295/0.1679, allocations: 0.5009 MB / 340.4 MB, free: 7.957 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003574/0.1715, allocations: 0.6369 MB / 341.1 MB, free: 7.316 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.1729, allocations: 247.7 kB / 341.3 MB, free: 7.074 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004489/0.1774, allocations: 2.491 MB / 343.8 MB, free: 4.566 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002719/0.1802, allocations: 1.197 MB / 345 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/0.183, allocations: 0.821 MB / 345.8 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003508/0.1865, allocations: 1.093 MB / 346.9 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001114/0.1877, allocations: 128 kB / 347 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.1894, allocations: 191.9 kB / 347.2 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001462/0.1909, allocations: 0.5918 MB / 347.8 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001783/0.1927, allocations: 456.6 kB / 348.3 MB, free: 60 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004366/0.1971, allocations: 2.918 MB / 351.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.1972, allocations: 4 kB / 351.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1972, allocations: 0 / 351.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001701/0.1973, allocations: 0 / 351.2 MB, free: 13.13 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.006731/0.2041, allocations: 2.197 MB / 353.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.2042, allocations: 12.03 kB / 353.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001168/0.2053, allocations: 278.4 kB / 353.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.2067, allocations: 261.1 kB / 353.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003007/0.2098, allocations: 1.224 MB / 355.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.2099, allocations: 143.8 kB / 355.3 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003322/0.2103, allocations: 195.8 kB / 355.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004543/0.2148, allocations: 2.407 MB / 357.9 MB, free: 6.266 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.445e-05/0.2149, allocations: 4 kB / 357.9 MB, free: 6.262 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001713/0.2151, allocations: 79.98 kB / 358 MB, free: 6.184 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.2152, allocations: 87.69 kB / 358 MB, free: 6.098 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003442/0.2186, allocations: 1.958 MB / 360 MB, free: 4.137 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01346/0.2321, allocations: 7.891 MB / 367.9 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.2339, allocations: 1.219 MB / 369.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/0.2357, allocations: 0.9567 MB / 370.1 MB, free: 9.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002969/0.236, allocations: 126 kB / 370.2 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.236, allocations: 47.56 kB / 370.2 MB, free: 9.582 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 3.175e-06/0.236, allocations: 4 kB / 370.2 MB, free: 9.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.01265/0.2487, allocations: 5.913 MB / 376.1 MB, free: 3.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.2488, allocations: 60.41 kB / 376.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.2508, allocations: 1.294 MB / 377.5 MB, free: 2.156 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.251, allocations: 49.7 kB / 377.6 MB, free: 2.102 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007472/0.2517, allocations: 0.916 MB / 378.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003757/0.2521, allocations: 386.4 kB / 378.8 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.677e-05/0.2522, allocations: 32 kB / 378.9 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.2524, allocations: 357.9 kB / 379.2 MB, free: 412 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2372/0.4896, allocations: 0.6341 MB / 379.9 MB, free: 50.3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.4913, allocations: 0.9966 MB / 380.9 MB, free: 49.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.4931, allocations: 0.7872 MB / 381.6 MB, free: 49.89 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/0.4932, allocations: 3.531 kB / 381.6 MB, free: 49.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004561/0.4978, allocations: 2.242 MB / 383.9 MB, free: 49.47 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.4978, allocations: 10.03 kB / 383.9 MB, free: 49.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.967e-05/0.4979, allocations: 10.86 kB / 383.9 MB, free: 49.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.4991, allocations: 499 kB / 384.4 MB, free: 49.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.5004, allocations: 299.6 kB / 384.7 MB, free: 49.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006876/0.5073, allocations: 6.538 MB / 391.2 MB, free: 44.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.5088, allocations: 90.92 kB / 391.3 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.509, allocations: 60.23 kB / 391.4 MB, free: 44.23 MB / 318.1 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.001321/0.5104, allocations: 0.5966 MB / 392 MB, free: 43.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003959/0.5108, allocations: 145.8 kB / 392.1 MB, free: 43.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003844/0.5146, allocations: 1.971 MB / 394.1 MB, free: 43.08 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.5147, allocations: 11.75 kB / 394.1 MB, free: 43.08 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.5147, allocations: 3.938 kB / 394.1 MB, free: 43.08 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.5147, allocations: 6.094 kB / 394.1 MB, free: 43.08 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007314/0.522, allocations: 4.123 MB / 398.2 MB, free: 41.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.405e-06/0.5221, allocations: 2.625 kB / 398.2 MB, free: 41.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007441/0.5228, allocations: 187.1 kB / 398.4 MB, free: 41.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/0.5241, allocations: 0.541 MB / 399 MB, free: 41.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.762e-05/0.5242, allocations: 27.59 kB / 399 MB, free: 41.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006556/0.5308, allocations: 8.052 MB / 407 MB, free: 34.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/0.5308, allocations: 3.938 kB / 407 MB, free: 34.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004317/0.5352, allocations: 2.852 MB / 409.9 MB, free: 32.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008968/0.5361, allocations: 351.2 kB / 410.2 MB, free: 31.8 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004414/0.5366, allocations: 27.98 kB / 410.3 MB, free: 31.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000954/0.5375, allocations: 79.88 kB / 410.3 MB, free: 31.69 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/0.5378, allocations: 80.97 kB / 410.4 MB, free: 31.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-05/0.5379, allocations: 39.92 kB / 410.5 MB, free: 31.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001508/0.5394, allocations: 0.8799 MB / 411.3 MB, free: 30.69 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5394, allocations: 0 / 411.3 MB, free: 30.69 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002113/0.5415, allocations: 433.7 kB / 411.8 MB, free: 30.27 MB / 318.1 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.00468/0.5462, allocations: 3.448 MB / 415.2 MB, free: 26.76 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003593/0.5498, allocations: 2.217 MB / 417.4 MB, free: 24.46 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.5499, allocations: 5.938 kB / 417.4 MB, free: 24.46 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002089/0.552, allocations: 1.505 MB / 418.9 MB, free: 22.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003163/0.5552, allocations: 401.4 kB / 419.3 MB, free: 22.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02406/0.5793, allocations: 12.27 MB / 431.6 MB, free: 9.715 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001876/0.5812, allocations: 1.646 MB / 433.2 MB, free: 8.039 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001374/0.5826, allocations: 320.8 kB / 433.6 MB, free: 7.719 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/0.5837, allocations: 0.7141 MB / 434.3 MB, free: 7.004 MB / 318.1 MB Notification: Performance of SimCode: time 1.663e-06/0.5837, allocations: 0 / 434.3 MB, free: 7.004 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08529/0.669, allocations: 36.7 MB / 471 MB, free: 2.246 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005078/0.6696, allocations: 258.2 kB / 471.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.15/3.82, allocations: 0 / 471.2 MB, free: 1.949 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_Steinmetz_res.mat does not exist to compare? outputFormat=mat