Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008286/0.0008287, allocations: 100 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00101/0.001009, allocations: 197.9 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.3 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002443/0.0002445, allocations: 4 kB / 306.8 MB, free: 1.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1069, allocations: 51.5 MB / 358.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2148/0.3218, allocations: 21.56 MB / 379.9 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01348/0.3353, allocations: 6.839 MB / 386.7 MB, free: 6.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004832/0.3402, allocations: 169.3 kB / 386.9 MB, free: 6.898 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005653/0.3458, allocations: 1.351 MB / 388.2 MB, free: 6.254 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01109/0.357, allocations: 2.394 MB / 390.6 MB, free: 4.809 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005056/0.362, allocations: 1.165 MB / 391.8 MB, free: 4.109 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02178/0.3838, allocations: 13.29 MB / 405.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03984/0.4237, allocations: 18.01 MB / 423.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009114/0.4329, allocations: 4.194 MB / 427.3 MB, free: 7.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009293/0.4422, allocations: 4.573 MB / 431.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002806/0.4451, allocations: 0.6406 MB / 432.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00558/0.4507, allocations: 1.019 MB / 433.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003639/0.4543, allocations: 1.892 MB / 435.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004924/0.4593, allocations: 2.044 MB / 437.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02431/0.4836, allocations: 19.01 MB / 456.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4837, allocations: 0 / 456.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4837, allocations: 0 / 456.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.00074/0.4844, allocations: 0 / 456.5 MB, free: 10.57 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03489/0.5193, allocations: 10.8 MB / 467.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.5194, allocations: 8.031 kB / 467.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006104/0.5255, allocations: 1.552 MB / 468.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0362/0.5617, allocations: 6.18 MB / 475 MB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01816/0.5799, allocations: 6.676 MB / 481.7 MB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001073/0.5811, allocations: 0.7025 MB / 482.4 MB, free: 472 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004831/0.5859, allocations: 0.9294 MB / 483.3 MB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04671/0.6326, allocations: 15.69 MB / 499 MB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005412/0.6332, allocations: 15.91 kB / 499 MB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003495/0.6368, allocations: 395.7 kB / 499.4 MB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007347/0.6375, allocations: 0.5548 MB / 500 MB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04564/0.6832, allocations: 14.7 MB / 0.5026 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.522/1.205, allocations: 52.75 MB / 0.5541 GB, free: 99.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02303/1.228, allocations: 26.45 MB / 0.5799 GB, free: 77.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005702/1.234, allocations: 3.253 MB / 0.5831 GB, free: 77.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006252/1.235, allocations: 248.1 kB / 0.5834 GB, free: 77.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.603e-05/1.235, allocations: 74.64 kB / 0.5834 GB, free: 77.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=404): time 9.067e-06/1.235, allocations: 0 / 0.5834 GB, free: 77.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=410): time 0.04573/1.281, allocations: 19.25 MB / 0.6022 GB, free: 69.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/1.281, allocations: 99.98 kB / 0.6023 GB, free: 69.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006108/1.287, allocations: 3.664 MB / 0.6059 GB, free: 67.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005818/1.287, allocations: 93.2 kB / 0.606 GB, free: 67.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002228/1.29, allocations: 3.972 MB / 0.6099 GB, free: 63.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001401/1.291, allocations: 1.402 MB / 0.6112 GB, free: 62.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002865/1.291, allocations: 117.5 kB / 0.6114 GB, free: 62.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002754/1.292, allocations: 0.5393 MB / 0.6119 GB, free: 61.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003813/1.295, allocations: 2.818 MB / 0.6146 GB, free: 60.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004595/1.3, allocations: 4.978 MB / 0.6195 GB, free: 55.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00488/1.305, allocations: 3.967 MB / 0.6234 GB, free: 53.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.363e-05/1.305, allocations: 20 kB / 0.6234 GB, free: 53.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01432/1.319, allocations: 9.117 MB / 0.6323 GB, free: 44.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.795e-05/1.319, allocations: 37.56 kB / 0.6323 GB, free: 44.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001422/1.32, allocations: 68 kB / 0.6324 GB, free: 44.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002977/1.323, allocations: 1.207 MB / 0.6336 GB, free: 43.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005109/1.328, allocations: 1.326 MB / 0.6349 GB, free: 41.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/1.341, allocations: 9.102 MB / 0.6438 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005088/1.346, allocations: 343.3 kB / 0.6441 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001384/1.348, allocations: 284 kB / 0.6443 GB, free: 32.01 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (697): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009397/1.357, allocations: 3.701 MB / 0.648 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001487/1.359, allocations: 407 kB / 0.6484 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/1.373, allocations: 6.756 MB / 0.6549 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009744/1.383, allocations: 5.627 MB / 0.6604 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.503e-05/1.383, allocations: 16 kB / 0.6605 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.049e-05/1.383, allocations: 29.5 kB / 0.6605 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03495/1.418, allocations: 16.16 MB / 0.6763 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.983e-05/1.418, allocations: 4 kB / 0.6763 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003601/1.421, allocations: 0.7417 MB / 0.677 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003301/1.425, allocations: 1.07 MB / 0.678 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008573/1.426, allocations: 87.98 kB / 0.6781 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01368/1.439, allocations: 8.062 MB / 0.686 GB, free: 4.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/1.439, allocations: 7.938 kB / 0.686 GB, free: 4.973 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02247/1.462, allocations: 9.922 MB / 0.6957 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003868/1.466, allocations: 0.9721 MB / 0.6966 GB, free: 9.941 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001791/1.468, allocations: 79.98 kB / 0.6967 GB, free: 9.863 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003656/1.471, allocations: 207.9 kB / 0.6969 GB, free: 9.66 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001352/1.473, allocations: 287.3 kB / 0.6972 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006903/1.473, allocations: 124 kB / 0.6973 GB, free: 9.258 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00565/1.479, allocations: 2.468 MB / 0.6997 GB, free: 6.801 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.81e-07/1.479, allocations: 0 / 0.6997 GB, free: 6.801 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01157/1.491, allocations: 1.615 MB / 0.7013 GB, free: 5.191 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (392): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02066/1.511, allocations: 10.66 MB / 0.7117 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01559/1.527, allocations: 7.168 MB / 0.7187 GB, free: 3.242 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/1.527, allocations: 0 / 0.7187 GB, free: 3.242 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2272/1.754, allocations: 3.41 MB / 0.722 GB, free: 170.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00616/1.76, allocations: 0.9435 MB / 0.723 GB, free: 170.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1155/1.876, allocations: 46.69 MB / 0.7686 GB, free: 146.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01179/1.888, allocations: 6.194 MB / 0.7746 GB, free: 141.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006726/1.895, allocations: 1.912 MB / 0.7765 GB, free: 139.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006034/1.901, allocations: 3.307 MB / 0.7797 GB, free: 136.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.332e-06/1.901, allocations: 8 kB / 0.7797 GB, free: 136.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4176/2.318, allocations: 123.4 MB / 0.9003 GB, free: 128.1 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/2.319, allocations: 281 kB / 0.9005 GB, free: 127.7 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.839/7.158, allocations: 0 / 0.9005 GB, free: 127.7 MB / 494.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat does not exist to compare? outputFormat=mat