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.001424/0.001424, allocations: 95.78 kB / 16.94 MB, free: 5.984 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.001664/0.001663, allocations: 175 kB / 17.82 MB, free: 5.652 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.684/1.684, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004656/0.0004657, allocations: 12 kB / 280.9 MB, free: 3.645 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1236, allocations: 47.57 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01322/0.1369, allocations: 10.35 MB / 338.8 MB, free: 9.613 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009629/0.1466, allocations: 4.141 MB / 342.9 MB, free: 5.461 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002447/0.1491, allocations: 59.69 kB / 343 MB, free: 5.402 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00277/0.1519, allocations: 0.8008 MB / 343.8 MB, free: 4.598 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004743/0.1566, allocations: 0.993 MB / 344.8 MB, free: 3.602 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.1582, allocations: 323.6 kB / 345.1 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006021/0.1643, allocations: 2.971 MB / 348.1 MB, free: 312 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003709/0.168, allocations: 2.522 MB / 350.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003064/0.1711, allocations: 1.444 MB / 352 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00413/0.1753, allocations: 1.813 MB / 353.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001096/0.1764, allocations: 240 kB / 354.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.1781, allocations: 307.9 kB / 354.4 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0013/0.1794, allocations: 1.075 MB / 355.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001765/0.1812, allocations: 0.8433 MB / 356.3 MB, free: 8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007644/0.1889, allocations: 5.952 MB / 362.2 MB, free: 2.031 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1889, allocations: 0 / 362.2 MB, free: 2.031 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.248e-06/0.1889, allocations: 0 / 362.2 MB, free: 2.031 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003254/0.1893, allocations: 0 / 362.2 MB, free: 2.031 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.013/0.2023, allocations: 3.974 MB / 366.2 MB, free: 13.99 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.331e-05/0.2024, allocations: 8.031 kB / 366.2 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002866/0.2053, allocations: 0.5057 MB / 366.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002084/0.2074, allocations: 0.4947 MB / 367.2 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006593/0.214, allocations: 2.307 MB / 369.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002366/0.2142, allocations: 263.1 kB / 369.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007511/0.215, allocations: 359.8 kB / 370.1 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01027/0.2253, allocations: 4.978 MB / 375.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.479e-05/0.2254, allocations: 4 kB / 375.1 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003448/0.2258, allocations: 144 kB / 375.3 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002033/0.226, allocations: 187 kB / 375.4 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01032/0.2363, allocations: 4.291 MB / 379.7 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3063/0.5426, allocations: 14.95 MB / 394.7 MB, free: 39.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004388/0.5471, allocations: 4.199 MB / 398.9 MB, free: 36.72 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/0.5474, allocations: 135.8 kB / 399 MB, free: 36.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/0.5474, allocations: 60.47 kB / 399.1 MB, free: 36.55 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 3.516e-06/0.5474, allocations: 3.719 kB / 399.1 MB, free: 36.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.02008/0.5675, allocations: 10.32 MB / 409.4 MB, free: 30.61 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.5676, allocations: 77.39 kB / 409.5 MB, free: 30.53 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003252/0.5709, allocations: 2.443 MB / 411.9 MB, free: 28.06 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001978/0.5711, allocations: 61.7 kB / 412 MB, free: 28 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009804/0.5721, allocations: 1.618 MB / 413.6 MB, free: 26.36 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005416/0.5726, allocations: 0.7356 MB / 414.3 MB, free: 25.63 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.5728, allocations: 44 kB / 414.4 MB, free: 25.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.5729, allocations: 398.6 kB / 414.8 MB, free: 25.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.5745, allocations: 1.32 MB / 416.1 MB, free: 23.87 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/0.5764, allocations: 1.79 MB / 417.9 MB, free: 21.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.5782, allocations: 1.568 MB / 419.4 MB, free: 20.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/0.5782, allocations: 4 kB / 419.4 MB, free: 20.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.005942/0.5842, allocations: 4.106 MB / 423.5 MB, free: 16.19 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.5843, allocations: 11.95 kB / 423.6 MB, free: 16.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.34e-05/0.5843, allocations: 15.94 kB / 423.6 MB, free: 16.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002525/0.5868, allocations: 0.8844 MB / 424.5 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001985/0.5888, allocations: 0.5227 MB / 425 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008002/0.5968, allocations: 8.937 MB / 433.9 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/0.5993, allocations: 131.9 kB / 434 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002476/0.5996, allocations: 80 kB / 434.1 MB, free: 5.207 MB / 318.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.002356/0.6019, allocations: 1.213 MB / 435.3 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009719/0.6029, allocations: 272.7 kB / 435.6 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005467/0.6084, allocations: 3.768 MB / 439.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.6084, allocations: 28 kB / 439.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.6085, allocations: 4 kB / 439.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.06e-05/0.6085, allocations: 14.78 kB / 439.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/0.6236, allocations: 8.087 MB / 447.5 MB, free: 7.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.6237, allocations: 4 kB / 447.5 MB, free: 7.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/0.6253, allocations: 387.8 kB / 447.9 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003121/0.6285, allocations: 0.9272 MB / 448.8 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000172/0.6286, allocations: 59.94 kB / 448.9 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01148/0.6401, allocations: 10.43 MB / 459.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.6402, allocations: 4 kB / 459.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009231/0.6494, allocations: 5.792 MB / 465.1 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002069/0.6515, allocations: 0.6265 MB / 465.7 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005874/0.6521, allocations: 54.94 kB / 465.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.6534, allocations: 131.8 kB / 465.9 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004234/0.6539, allocations: 177.8 kB / 466.1 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/0.654, allocations: 63.98 kB / 466.1 MB, free: 4.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002527/0.6566, allocations: 1.684 MB / 467.8 MB, free: 2.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6566, allocations: 0 / 467.8 MB, free: 2.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002799/0.6594, allocations: 0.7955 MB / 468.6 MB, free: 1.898 MB / 350.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.009076/0.6685, allocations: 7.136 MB / 475.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006202/0.6747, allocations: 3.917 MB / 479.7 MB, free: 6.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.6747, allocations: 4 kB / 479.7 MB, free: 6.656 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003812/0.6786, allocations: 2.503 MB / 482.2 MB, free: 4.082 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003593/0.6822, allocations: 0.7209 MB / 482.9 MB, free: 3.359 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05145/0.7337, allocations: 32.93 MB / 0.5037 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002751/0.7365, allocations: 2.845 MB / 0.5065 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002467/0.739, allocations: 0.6827 MB / 0.5072 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001982/0.741, allocations: 1.405 MB / 0.5086 GB, free: 11.96 MB / 414.1 MB Notification: Performance of SimCode: time 1.442e-06/0.741, allocations: 0 / 0.5086 GB, free: 11.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2977/1.039, allocations: 70.09 MB / 0.577 GB, free: 117 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/1.039, allocations: 279.3 kB / 0.5773 GB, free: 116.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.39/4.429, allocations: 0 / 0.5773 GB, free: 116.7 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