Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.00148, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 221.3 MB / 236 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000869/0.0008692, allocations: 88.09 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2498/0.2498, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.937e-05/2.939e-05, allocations: 4.203 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1237, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4526/0.5763, allocations: 91.82 MB / 0.5915 GB, free: 13.42 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.5767, allocations: 63.97 kB / 0.5915 GB, free: 13.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03076/0.6075, allocations: 9.257 MB / 0.6006 GB, free: 4.098 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6075, allocations: 4 kB / 0.6006 GB, free: 4.094 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.088e-05/0.6075, allocations: 8 kB / 0.6006 GB, free: 4.086 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001076/0.6086, allocations: 0.6589 MB / 0.6012 GB, free: 3.383 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.6087, allocations: 8.031 kB / 0.6012 GB, free: 3.375 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001138/0.6088, allocations: 86.53 kB / 0.6013 GB, free: 3.281 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.728e-05/0.6089, allocations: 47.44 kB / 0.6014 GB, free: 3.234 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.6093, allocations: 312.2 kB / 0.6017 GB, free: 2.887 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/0.6094, allocations: 41 kB / 0.6017 GB, free: 2.848 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/0.6095, allocations: 51.94 kB / 0.6017 GB, free: 2.797 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006955/0.6102, allocations: 431.1 kB / 0.6022 GB, free: 2.352 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.6102, allocations: 0 / 0.6022 GB, free: 2.352 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.379e-05/0.6103, allocations: 23.94 kB / 0.6022 GB, free: 2.328 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.6103, allocations: 12 kB / 0.6022 GB, free: 2.316 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004912/0.6108, allocations: 283.9 kB / 0.6025 GB, free: 2.043 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.6134, allocations: 1.706 MB / 0.6041 GB, free: 224 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.6139, allocations: 213.1 kB / 0.6043 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.6141, allocations: 121.7 kB / 0.6044 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.6142, allocations: 4 kB / 0.6044 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.6142, allocations: 34.56 kB / 0.6045 GB, free: 15.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 6.482e-06/0.6142, allocations: 3.984 kB / 0.6045 GB, free: 15.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.002453/0.6167, allocations: 1.122 MB / 0.6056 GB, free: 14.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.6167, allocations: 81.11 kB / 0.6057 GB, free: 14.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.617, allocations: 234.8 kB / 0.6059 GB, free: 14.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.6171, allocations: 33.7 kB / 0.6059 GB, free: 14.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.6172, allocations: 251.5 kB / 0.6061 GB, free: 13.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.6173, allocations: 126.2 kB / 0.6063 GB, free: 13.85 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.463e-05/0.6174, allocations: 8 kB / 0.6063 GB, free: 13.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.6175, allocations: 342.8 kB / 0.6066 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.6177, allocations: 88.88 kB / 0.6067 GB, free: 13.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.618, allocations: 187.6 kB / 0.6069 GB, free: 13.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.6182, allocations: 113.9 kB / 0.607 GB, free: 13.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.6182, allocations: 8 kB / 0.607 GB, free: 13.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006034/0.6188, allocations: 376.6 kB / 0.6073 GB, free: 12.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.6188, allocations: 8 kB / 0.6074 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.6188, allocations: 4 kB / 0.6074 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002034/0.6191, allocations: 33.19 kB / 0.6074 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000477/0.6195, allocations: 119.8 kB / 0.6075 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.6207, allocations: 1.331 MB / 0.6088 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.621, allocations: 23.98 kB / 0.6088 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.621, allocations: 16 kB / 0.6088 GB, free: 11.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.6211, allocations: 126.8 kB / 0.609 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.751e-05/0.6212, allocations: 39.69 kB / 0.609 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.411e-05/0.6213, allocations: 33.95 kB / 0.609 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.6213, allocations: 4 kB / 0.609 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6213, allocations: 0 / 0.609 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6213, allocations: 4 kB / 0.609 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.6224, allocations: 0.7153 MB / 0.6097 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.6224, allocations: 0 / 0.6097 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/0.6229, allocations: 95.88 kB / 0.6098 GB, free: 9.938 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.525e-05/0.623, allocations: 28.97 kB / 0.6099 GB, free: 9.906 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.623, allocations: 8 kB / 0.6099 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.6241, allocations: 1.324 MB / 0.6112 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6241, allocations: 7.938 kB / 0.6112 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007621/0.6249, allocations: 0.5892 MB / 0.6117 GB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.625, allocations: 120.8 kB / 0.6119 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.625, allocations: 12 kB / 0.6119 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.6253, allocations: 23.98 kB / 0.6119 GB, free: 7.625 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.6254, allocations: 31.91 kB / 0.6119 GB, free: 7.594 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.6254, allocations: 8 kB / 0.6119 GB, free: 7.586 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001935/0.6256, allocations: 179.1 kB / 0.6121 GB, free: 7.414 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6256, allocations: 0 / 0.6121 GB, free: 7.414 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000444/0.6261, allocations: 96 kB / 0.6122 GB, free: 7.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001186/0.6273, allocations: 1.346 MB / 0.6135 GB, free: 5.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006687/0.6279, allocations: 359.1 kB / 0.6138 GB, free: 5.566 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.628, allocations: 0.6875 kB / 0.6138 GB, free: 5.566 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000295/0.6283, allocations: 242.5 kB / 0.6141 GB, free: 5.316 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.6286, allocations: 36.55 kB / 0.6141 GB, free: 5.281 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.6302, allocations: 0.7485 MB / 0.6148 GB, free: 4.492 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.6306, allocations: 0.8269 MB / 0.6157 GB, free: 3.633 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001684/0.6308, allocations: 34.91 kB / 0.6157 GB, free: 3.598 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.631, allocations: 139.4 kB / 0.6158 GB, free: 3.461 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.631, allocations: 0 / 0.6158 GB, free: 3.461 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/0.6502, allocations: 5.902 MB / 0.6216 GB, free: 13.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/0.6504, allocations: 176.8 kB / 0.6217 GB, free: 13.48 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.626, allocations: 2.25 kB / 0.6218 GB, free: 13.48 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1)