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.001121/0.001121, allocations: 98.61 kB / 16.93 MB, free: 6.445 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.001065/0.001065, allocations: 185.5 kB / 17.83 MB, free: 6.012 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.597/1.597, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004798/0.0004798, allocations: 12 kB / 280.8 MB, free: 3.645 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09706/0.09755, allocations: 47.58 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.008882/0.1065, allocations: 7.822 MB / 336.2 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007159/0.1137, allocations: 2.972 MB / 339.2 MB, free: 9.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.115, allocations: 39.81 kB / 339.3 MB, free: 9.121 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.1167, allocations: 0.513 MB / 339.8 MB, free: 8.605 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002139/0.1188, allocations: 0.6503 MB / 340.4 MB, free: 7.953 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007405/0.1196, allocations: 255.6 kB / 340.7 MB, free: 7.703 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002536/0.1221, allocations: 1.599 MB / 342.3 MB, free: 6.094 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.1238, allocations: 1.197 MB / 343.5 MB, free: 4.867 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.125, allocations: 0.7667 MB / 344.2 MB, free: 4.098 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.1262, allocations: 0.9455 MB / 345.2 MB, free: 3.148 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001885/0.1264, allocations: 124 kB / 345.3 MB, free: 3.027 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004287/0.1268, allocations: 183.9 kB / 345.5 MB, free: 2.848 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000521/0.1273, allocations: 0.5608 MB / 346 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004047/0.1278, allocations: 460.5 kB / 346.5 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002364/0.1301, allocations: 2.871 MB / 349.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1301, allocations: 0 / 349.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1301, allocations: 0 / 349.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.785e-05/0.1302, allocations: 0 / 349.4 MB, free: 14.95 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.003758/0.1339, allocations: 2.186 MB / 351.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.134, allocations: 11.97 kB / 351.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003365/0.1343, allocations: 282.4 kB / 351.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005949/0.1349, allocations: 261.1 kB / 352.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.1369, allocations: 1.228 MB / 353.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.137, allocations: 151.8 kB / 353.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002499/0.1373, allocations: 191.9 kB / 353.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003645/0.1409, allocations: 2.387 MB / 356 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.714e-05/0.141, allocations: 11.92 kB / 356.1 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.1411, allocations: 76 kB / 356.1 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.1413, allocations: 87.69 kB / 356.2 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003148/0.1444, allocations: 1.951 MB / 358.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01143/0.1559, allocations: 7.84 MB / 366 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.1575, allocations: 1.239 MB / 367.2 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002331/0.1578, allocations: 114.1 kB / 367.4 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.1578, allocations: 47.52 kB / 367.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 2.815e-06/0.1578, allocations: 0 / 367.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.01293/0.1708, allocations: 5.893 MB / 373.3 MB, free: 6.398 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.1709, allocations: 68.33 kB / 373.4 MB, free: 6.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/0.1729, allocations: 1.251 MB / 374.6 MB, free: 5.062 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001162/0.173, allocations: 49.7 kB / 374.7 MB, free: 5.008 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008976/0.1739, allocations: 0.916 MB / 375.6 MB, free: 4.078 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004125/0.1744, allocations: 390.4 kB / 376 MB, free: 3.691 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.1744, allocations: 28 kB / 376 MB, free: 3.664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.1746, allocations: 357.9 kB / 376.3 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009684/0.1756, allocations: 0.6364 MB / 377 MB, free: 2.672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.1768, allocations: 0.9925 MB / 378 MB, free: 1.531 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.178, allocations: 0.7837 MB / 378.7 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.178, allocations: 8 kB / 378.8 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.1504/0.3284, allocations: 2.222 MB / 381 MB, free: 49.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.3285, allocations: 9.281 kB / 381 MB, free: 49.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/0.3285, allocations: 11.38 kB / 381 MB, free: 49.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/0.3298, allocations: 484.6 kB / 381.5 MB, free: 49.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.3309, allocations: 301.3 kB / 381.8 MB, free: 49.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005798/0.3367, allocations: 6.598 MB / 388.4 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.3378, allocations: 92.66 kB / 388.5 MB, free: 45.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.3379, allocations: 60.91 kB / 388.5 MB, free: 45.1 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.001079/0.339, allocations: 0.5976 MB / 389.1 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.3392, allocations: 147.4 kB / 389.3 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0033/0.3425, allocations: 1.95 MB / 391.2 MB, free: 43.97 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.3426, allocations: 10.94 kB / 391.2 MB, free: 43.97 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.3426, allocations: 13.72 kB / 391.2 MB, free: 43.97 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.3426, allocations: 8.672 kB / 391.2 MB, free: 43.97 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006243/0.3489, allocations: 4.06 MB / 395.3 MB, free: 42.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.3489, allocations: 2.75 kB / 395.3 MB, free: 42.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007509/0.3496, allocations: 184.3 kB / 395.5 MB, free: 42.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001276/0.3509, allocations: 0.5331 MB / 396 MB, free: 42.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.443e-05/0.351, allocations: 34.84 kB / 396 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006075/0.3571, allocations: 8.13 MB / 404.2 MB, free: 35.54 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3571, allocations: 3.969 kB / 404.2 MB, free: 35.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003498/0.3606, allocations: 2.961 MB / 407.1 MB, free: 33.78 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000641/0.3613, allocations: 351.2 kB / 407.5 MB, free: 33.51 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.3615, allocations: 26.38 kB / 407.5 MB, free: 33.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006527/0.3621, allocations: 79.66 kB / 407.6 MB, free: 33.45 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/0.3623, allocations: 84.38 kB / 407.7 MB, free: 33.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.227e-05/0.3624, allocations: 32.92 kB / 407.7 MB, free: 33.39 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001013/0.3634, allocations: 0.847 MB / 408.5 MB, free: 32.92 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3634, allocations: 0 / 408.5 MB, free: 32.92 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001313/0.3647, allocations: 435.1 kB / 409 MB, free: 32.66 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.003555/0.3683, allocations: 4.18 MB / 413.2 MB, free: 28.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002631/0.371, allocations: 2.217 MB / 415.4 MB, free: 26.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.371, allocations: 0 / 415.4 MB, free: 26.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001675/0.3727, allocations: 1.494 MB / 416.9 MB, free: 24.53 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.3742, allocations: 385 kB / 417.2 MB, free: 24.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/0.3913, allocations: 19.27 MB / 436.5 MB, free: 4.312 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009864/0.3924, allocations: 1.691 MB / 438.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009778/0.3934, allocations: 332.7 kB / 438.5 MB, free: 2.258 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007098/0.3941, allocations: 0.718 MB / 439.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3941, allocations: 0 / 439.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06268/0.4568, allocations: 36.3 MB / 475.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/0.4571, allocations: 248.2 kB / 475.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/3, allocations: 0 / 475.8 MB, free: 12.93 MB / 366.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