Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.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_Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",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.001046/0.001046, allocations: 94.92 kB / 16.95 MB, free: 6.383 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.001325/0.001325, allocations: 183.4 kB / 17.84 MB, free: 5.98 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.74/1.74, allocations: 205.4 MB / 224 MB, free: 12.91 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.000469/0.000469, allocations: 8 kB / 280.9 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1308, allocations: 47.58 MB / 328.5 MB, free: 3.93 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01291/0.1438, allocations: 11.36 MB / 339.8 MB, free: 8.527 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00951/0.1533, allocations: 4.014 MB / 343.8 MB, free: 4.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003147/0.1565, allocations: 59.69 kB / 343.9 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002743/0.1593, allocations: 0.7728 MB / 344.7 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003886/0.1632, allocations: 1.018 MB / 345.7 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.1645, allocations: 327.6 kB / 346 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00656/0.171, allocations: 4.836 MB / 350.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003702/0.1748, allocations: 2.514 MB / 353.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003284/0.1781, allocations: 1.572 MB / 354.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004277/0.1824, allocations: 2.101 MB / 357 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008438/0.1833, allocations: 244 kB / 357.3 MB, free: 6.973 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.1848, allocations: 315.9 kB / 357.6 MB, free: 6.664 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001337/0.1862, allocations: 1.153 MB / 358.7 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.1877, allocations: 0.8394 MB / 359.6 MB, free: 4.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006654/0.1943, allocations: 5.991 MB / 365.5 MB, free: 14.65 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.1944, allocations: 0 / 365.5 MB, free: 14.65 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.1944, allocations: 0 / 365.5 MB, free: 14.65 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002495/0.1946, allocations: 0 / 365.5 MB, free: 14.65 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.009599/0.2042, allocations: 4.001 MB / 369.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.2043, allocations: 8.031 kB / 369.6 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00161/0.2059, allocations: 0.4979 MB / 370.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.2076, allocations: 0.4947 MB / 370.6 MB, free: 9.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005167/0.2128, allocations: 2.299 MB / 372.9 MB, free: 7.223 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002708/0.2131, allocations: 267 kB / 373.1 MB, free: 6.961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009425/0.2141, allocations: 359.9 kB / 373.5 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009752/0.2239, allocations: 5.005 MB / 378.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-05/0.224, allocations: 4 kB / 378.5 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003274/0.2243, allocations: 148 kB / 378.6 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001853/0.2245, allocations: 179.1 kB / 378.8 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2721/0.4966, allocations: 4.285 MB / 383.1 MB, free: 32.36 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02946/0.5262, allocations: 15 MB / 398.1 MB, free: 29.03 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004356/0.5306, allocations: 4.189 MB / 402.3 MB, free: 26.1 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002907/0.5335, allocations: 2.012 MB / 404.3 MB, free: 25.13 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003051/0.5339, allocations: 134.2 kB / 404.4 MB, free: 25.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/0.5339, allocations: 58.16 kB / 404.5 MB, free: 24.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 3.546e-06/0.5339, allocations: 4 kB / 404.5 MB, free: 24.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.01884/0.5528, allocations: 10.1 MB / 414.6 MB, free: 16.94 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.5529, allocations: 73.41 kB / 414.6 MB, free: 16.86 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003536/0.5564, allocations: 2.486 MB / 417.1 MB, free: 14.35 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001794/0.5566, allocations: 61.7 kB / 417.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009657/0.5576, allocations: 1.624 MB / 418.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005758/0.5582, allocations: 0.7289 MB / 419.5 MB, free: 11.92 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.5583, allocations: 44 kB / 419.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.5585, allocations: 398.6 kB / 420 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.5604, allocations: 1.301 MB / 421.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/0.5623, allocations: 1.792 MB / 423.1 MB, free: 8.203 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002058/0.5644, allocations: 1.56 MB / 424.6 MB, free: 6.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.5644, allocations: 4 kB / 424.6 MB, free: 6.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006286/0.5707, allocations: 4.078 MB / 428.7 MB, free: 2.648 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.5708, allocations: 8 kB / 428.7 MB, free: 2.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-05/0.5708, allocations: 16 kB / 428.7 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002534/0.5733, allocations: 0.8783 MB / 429.6 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001938/0.5753, allocations: 0.5274 MB / 430.1 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/0.5871, allocations: 8.737 MB / 438.9 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002724/0.5899, allocations: 127.9 kB / 439 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002617/0.5902, allocations: 87.98 kB / 439.1 MB, free: 7.934 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * 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 {(3,100.0%) 25,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003014/0.5932, allocations: 1.21 MB / 440.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009005/0.5941, allocations: 272.7 kB / 440.6 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006862/0.601, allocations: 3.735 MB / 444.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.601, allocations: 24 kB / 444.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/0.6011, allocations: 8 kB / 444.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-05/0.6011, allocations: 11.95 kB / 444.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/0.616, allocations: 8.103 MB / 452.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.6161, allocations: 4 kB / 452.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/0.6177, allocations: 385.6 kB / 452.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003039/0.6208, allocations: 0.9292 MB / 453.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002071/0.621, allocations: 59.97 kB / 453.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01289/0.6339, allocations: 10.19 MB / 464 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.6339, allocations: 4 kB / 464 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/0.6441, allocations: 5.533 MB / 469.5 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002253/0.6464, allocations: 0.6343 MB / 470.2 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004805/0.6469, allocations: 47.98 kB / 470.2 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.6482, allocations: 131.8 kB / 470.4 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004551/0.6486, allocations: 179.9 kB / 470.5 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/0.6488, allocations: 59.98 kB / 470.6 MB, free: 7.895 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003018/0.6518, allocations: 1.716 MB / 472.3 MB, free: 6.168 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6518, allocations: 0 / 472.3 MB, free: 6.168 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003675/0.6555, allocations: 0.7957 MB / 473.1 MB, free: 5.375 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * 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,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009944/0.6655, allocations: 6.18 MB / 479.3 MB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00717/0.6727, allocations: 3.904 MB / 483.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/0.6727, allocations: 0 / 483.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00464/0.6774, allocations: 2.478 MB / 485.7 MB, free: 8.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00462/0.6821, allocations: 0.7565 MB / 486.4 MB, free: 7.973 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05429/0.7364, allocations: 24.5 MB / 0.4989 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003176/0.7396, allocations: 2.769 MB / 0.5016 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003003/0.7427, allocations: 0.6788 MB / 0.5023 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002432/0.7451, allocations: 1.405 MB / 0.5037 GB, free: 9.273 MB / 414.1 MB Notification: Performance of SimCode: time 1.553e-06/0.7451, allocations: 0 / 0.5037 GB, free: 9.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3837/1.129, allocations: 70.53 MB / 0.5726 GB, free: 114.5 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/1.129, allocations: 286.8 kB / 0.5728 GB, free: 114.1 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.521/5.65, allocations: 0 / 0.5728 GB, free: 114.1 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.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_Transformer_res.mat does not exist to compare? outputFormat=mat