Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000991/0.0009911, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009923/0.0009924, allocations: 84.61 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.678e-05/3.68e-05, allocations: 0 / 350.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1199, allocations: 51.49 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3966/0.5165, allocations: 88.44 MB / 490.6 MB, free: 1.113 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003647/0.5169, allocations: 94.62 kB / 490.7 MB, free: 1.062 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0824/0.5994, allocations: 27.19 MB / 0.5057 GB, free: 7.152 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5994, allocations: 0 / 0.5057 GB, free: 7.152 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.569e-05/0.5994, allocations: 16 kB / 0.5057 GB, free: 7.137 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003956/0.6034, allocations: 1.121 MB / 0.5068 GB, free: 5.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.6035, allocations: 8.031 kB / 0.5068 GB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003502/0.6038, allocations: 131.2 kB / 0.507 GB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00227/0.6061, allocations: 330.8 kB / 0.5073 GB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.6065, allocations: 247 kB / 0.5075 GB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.6066, allocations: 65.61 kB / 0.5076 GB, free: 5.172 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/0.6068, allocations: 84 kB / 0.5077 GB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.6085, allocations: 0.8134 MB / 0.5085 GB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.6085, allocations: 4 kB / 0.5085 GB, free: 4.254 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.698e-05/0.6086, allocations: 28 kB / 0.5085 GB, free: 4.227 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.6086, allocations: 20 kB / 0.5085 GB, free: 4.207 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.6101, allocations: 0.703 MB / 0.5092 GB, free: 3.504 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005304/0.6154, allocations: 3.088 MB / 0.5122 GB, free: 224 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.6166, allocations: 0.9523 MB / 0.5131 GB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.6169, allocations: 210.5 kB / 0.5133 GB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/0.6171, allocations: 184 kB / 0.5135 GB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.6172, allocations: 39.12 kB / 0.5136 GB, free: 14.67 MB / 394.7 MB Notification: Performance of pre-optimization done (n=58): time 2.575e-06/0.6172, allocations: 0 / 0.5136 GB, free: 14.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=61): time 0.005651/0.6229, allocations: 1.824 MB / 0.5153 GB, free: 12.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.865e-05/0.623, allocations: 93.61 kB / 0.5154 GB, free: 12.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/0.6234, allocations: 274.6 kB / 0.5157 GB, free: 12.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/0.6234, allocations: 37.7 kB / 0.5157 GB, free: 12.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/0.6237, allocations: 362.6 kB / 0.5161 GB, free: 11.99 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.6239, allocations: 216.9 kB / 0.5163 GB, free: 11.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.6239, allocations: 12 kB / 0.5163 GB, free: 11.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.6241, allocations: 350.8 kB / 0.5166 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.6245, allocations: 198 kB / 0.5168 GB, free: 11.22 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005726/0.625, allocations: 440.6 kB / 0.5172 GB, free: 10.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/0.6255, allocations: 267.2 kB / 0.5175 GB, free: 10.42 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.6255, allocations: 4 kB / 0.5175 GB, free: 10.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001367/0.6269, allocations: 0.7632 MB / 0.5182 GB, free: 9.645 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.627, allocations: 12.03 kB / 0.5182 GB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/0.627, allocations: 8 kB / 0.5182 GB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002662/0.6273, allocations: 61.69 kB / 0.5183 GB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009069/0.6282, allocations: 219.7 kB / 0.5185 GB, free: 9.344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.6304, allocations: 2.665 MB / 0.5211 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007652/0.6312, allocations: 75.94 kB / 0.5212 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.558e-05/0.6313, allocations: 43.92 kB / 0.5212 GB, free: 6.297 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001946/0.6315, allocations: 152.8 kB / 0.5214 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.659e-05/0.6316, allocations: 43.44 kB / 0.5214 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.6331, allocations: 0.6103 MB / 0.522 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.6332, allocations: 8 kB / 0.522 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6332, allocations: 0 / 0.522 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.6332, allocations: 6.328 kB / 0.522 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00223/0.6354, allocations: 1.285 MB / 0.5233 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.6355, allocations: 3.938 kB / 0.5233 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007126/0.6362, allocations: 147.8 kB / 0.5234 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00019/0.6364, allocations: 49.69 kB / 0.5235 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.138e-05/0.6364, allocations: 19.98 kB / 0.5235 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.6385, allocations: 2.651 MB / 0.5261 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6385, allocations: 0 / 0.5261 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.6399, allocations: 0.8869 MB / 0.527 GB, free: 68 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/0.6401, allocations: 156.6 kB / 0.5271 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.6402, allocations: 15.98 kB / 0.5271 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005351/0.6407, allocations: 59.95 kB / 0.5272 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.6409, allocations: 52.55 kB / 0.5272 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.641, allocations: 19.98 kB / 0.5272 GB, free: 15.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002359/0.6412, allocations: 210.2 kB / 0.5274 GB, free: 15.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6412, allocations: 4 kB / 0.5274 GB, free: 15.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007469/0.642, allocations: 195.9 kB / 0.5276 GB, free: 15.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (core.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001876/0.6438, allocations: 1.532 MB / 0.5291 GB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.6451, allocations: 0.7673 MB / 0.5299 GB, free: 13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6451, allocations: 0 / 0.5299 GB, free: 13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006399/0.6458, allocations: 0.4929 MB / 0.5304 GB, free: 12.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.6461, allocations: 35.81 kB / 0.5304 GB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.6487, allocations: 0.9864 MB / 0.5314 GB, free: 11.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005138/0.6492, allocations: 0.8964 MB / 0.5322 GB, free: 10.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004934/0.6497, allocations: 92.52 kB / 0.5323 GB, free: 10.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.6501, allocations: 223.3 kB / 0.5325 GB, free: 10.2 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.6501, allocations: 4 kB / 0.5325 GB, free: 10.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.6779, allocations: 10.94 MB / 0.5432 GB, free: 15.56 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/0.6782, allocations: 223.3 kB / 0.5434 GB, free: 15.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.145, allocations: 0 / 0.5434 GB, free: 15.34 MB / 426.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_fmu --startTime=0 --stopTime=0.05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat does not exist to compare? outputFormat=mat