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/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 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 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) 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 110 kB / 17.21 MB, free: 6.289 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.001293/0.001293, allocations: 190 kB / 18.12 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 241.8 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2085/0.2085, allocations: 44.17 MB / 336.1 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 69.78 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1133, allocations: 60.81 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004556/0.1179, allocations: 3.529 MB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.1193, allocations: 0.7828 MB / 472.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002933/0.1196, allocations: 11.94 kB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.1198, allocations: 47.61 kB / 473 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.1202, allocations: 111.1 kB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.1206, allocations: 111.8 kB / 473.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008186/0.1214, allocations: 0.4983 MB / 473.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004754/0.1219, allocations: 211 kB / 473.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004878/0.1224, allocations: 195.3 kB / 474.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005252/0.123, allocations: 226.9 kB / 474.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.1231, allocations: 36 kB / 474.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.1233, allocations: 32 kB / 474.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.1234, allocations: 103.6 kB / 474.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003051/0.1237, allocations: 234.8 kB / 474.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005144/0.1242, allocations: 0.5371 MB / 475.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1242, allocations: 0 / 475.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1242, allocations: 0 / 475.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.159e-05/0.1243, allocations: 0 / 475.3 MB, free: 8.059 MB / 350.1 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.001409/0.1257, allocations: 0.7593 MB / 476 MB, free: 7.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1257, allocations: 8.031 kB / 476 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.406e-05/0.1258, allocations: 90.7 kB / 476.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.694e-05/0.1259, allocations: 52.28 kB / 476.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.1263, allocations: 313.5 kB / 476.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.1263, allocations: 33.31 kB / 476.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.063e-05/0.1264, allocations: 52.38 kB / 476.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008114/0.1272, allocations: 467 kB / 477 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1273, allocations: 0 / 477 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.1273, allocations: 20 kB / 477 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.1273, allocations: 11.98 kB / 477 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007054/0.128, allocations: 331.8 kB / 477.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.1304, allocations: 1.685 MB / 479.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005414/0.1309, allocations: 241 kB / 479.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.1313, allocations: 137.7 kB / 479.4 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.1313, allocations: 3.984 kB / 479.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.1313, allocations: 38.56 kB / 479.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.224e-06/0.1313, allocations: 0 / 479.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.002802/0.1341, allocations: 1.347 MB / 480.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.1342, allocations: 81.11 kB / 480.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.1344, allocations: 262.5 kB / 481.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.1345, allocations: 37.64 kB / 481.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.1346, allocations: 255.5 kB / 481.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.735e-05/0.1347, allocations: 130.2 kB / 481.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.1348, allocations: 74.05 kB / 481.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1349, allocations: 346.7 kB / 482 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.1352, allocations: 104.8 kB / 482.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.1355, allocations: 212.3 kB / 482.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005685/0.1361, allocations: 335.8 kB / 482.6 MB, free: 192 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1361, allocations: 0 / 482.6 MB, free: 192 kB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008048/0.1369, allocations: 425.9 kB / 483 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.137, allocations: 8 kB / 483 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.137, allocations: 4 kB / 483 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001228/0.1371, allocations: 36.78 kB / 483.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000449/0.1376, allocations: 128 kB / 483.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009104/0.1385, allocations: 1.32 MB / 484.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.1387, allocations: 27.95 kB / 484.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.1388, allocations: 16 kB / 484.6 MB, free: 14.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001656/0.139, allocations: 161.7 kB / 484.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-05/0.139, allocations: 31.8 kB / 484.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.238e-05/0.1391, allocations: 50.09 kB / 484.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1391, allocations: 4 kB / 484.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1391, allocations: 0 / 484.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1391, allocations: 7.984 kB / 484.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.1402, allocations: 0.7096 MB / 485.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1402, allocations: 0 / 485.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004145/0.1406, allocations: 99.94 kB / 485.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.883e-05/0.1407, allocations: 24.84 kB / 485.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.1407, allocations: 11.98 kB / 485.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008015/0.1415, allocations: 1.327 MB / 487 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1415, allocations: 0 / 487 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009196/0.1425, allocations: 0.6019 MB / 487.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.1426, allocations: 124.8 kB / 487.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.1426, allocations: 8 kB / 487.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.1429, allocations: 15.98 kB / 487.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.143, allocations: 35.89 kB / 487.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.143, allocations: 8 kB / 487.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.1432, allocations: 182 kB / 488 MB, free: 10.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1432, allocations: 4 kB / 488 MB, free: 10.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004394/0.1436, allocations: 92 kB / 488 MB, free: 10.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001191/0.1448, allocations: 1.136 MB / 489.2 MB, free: 9.188 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007776/0.1456, allocations: 414.8 kB / 489.6 MB, free: 8.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1456, allocations: 0 / 489.6 MB, free: 8.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.146, allocations: 255.3 kB / 489.8 MB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005168/0.1465, allocations: 48.62 kB / 489.9 MB, free: 8.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004608/0.1511, allocations: 3.676 MB / 493.6 MB, free: 4.602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.1515, allocations: 0.8113 MB / 494.4 MB, free: 3.766 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001702/0.1517, allocations: 34.97 kB / 494.4 MB, free: 3.734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.1518, allocations: 143.4 kB / 494.5 MB, free: 3.594 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1519, allocations: 3.938 kB / 494.5 MB, free: 3.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04877/0.2006, allocations: 6.077 MB / 0.4889 GB, free: 13.66 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.2009, allocations: 233.2 kB / 0.4891 GB, free: 13.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.045, allocations: 0 / 0.4891 GB, free: 13.4 MB / 382.1 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/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)