Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001831/0.001831, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002243/0.002243, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2422/0.2422, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 84.77 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1309, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005628/0.1366, allocations: 3.516 MB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.1383, allocations: 0.8218 MB / 484.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.1385, allocations: 11.94 kB / 484.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.1387, allocations: 75.28 kB / 484.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.139, allocations: 130.8 kB / 484.8 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.1395, allocations: 131.8 kB / 484.9 MB, free: 444 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005832/0.1401, allocations: 0.5179 MB / 485.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004044/0.1405, allocations: 242 kB / 485.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.1407, allocations: 207.3 kB / 485.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.141, allocations: 235 kB / 486.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.158e-05/0.1411, allocations: 48 kB / 486.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.105e-05/0.1412, allocations: 52 kB / 486.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1413, allocations: 107.6 kB / 486.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00024/0.1415, allocations: 246.9 kB / 486.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005719/0.1421, allocations: 0.5488 MB / 487.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.1421, allocations: 4 kB / 487.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1422, allocations: 8 kB / 487.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.1422, allocations: 0 / 487.1 MB, free: 14.24 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001398/0.1436, allocations: 0.7603 MB / 487.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.1436, allocations: 8.031 kB / 487.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001178/0.1438, allocations: 90.7 kB / 487.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.963e-05/0.1438, allocations: 52.28 kB / 488 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.1443, allocations: 309.5 kB / 488.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/0.1443, allocations: 33.38 kB / 488.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.572e-05/0.1444, allocations: 48.38 kB / 488.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008291/0.1452, allocations: 467 kB / 488.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1453, allocations: 0 / 488.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.161e-05/0.1453, allocations: 20 kB / 488.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.1453, allocations: 12 kB / 488.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007431/0.1461, allocations: 323.8 kB / 489.2 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00271/0.1488, allocations: 1.689 MB / 490.9 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/0.1494, allocations: 245 kB / 491.1 MB, free: 9.965 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003506/0.1498, allocations: 140.8 kB / 491.2 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.1498, allocations: 0 / 491.2 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.1498, allocations: 42.55 kB / 491.3 MB, free: 9.773 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/0.1498, allocations: 0 / 491.3 MB, free: 9.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.003096/0.1529, allocations: 1.336 MB / 492.6 MB, free: 8.316 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/0.153, allocations: 81.11 kB / 492.7 MB, free: 8.219 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.1533, allocations: 266.5 kB / 493 MB, free: 7.953 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.1534, allocations: 33.7 kB / 493 MB, free: 7.914 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.1535, allocations: 263.4 kB / 493.2 MB, free: 7.648 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.1537, allocations: 126.2 kB / 493.4 MB, free: 7.523 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.1538, allocations: 78.03 kB / 493.4 MB, free: 7.441 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.154, allocations: 338.8 kB / 493.8 MB, free: 7.102 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.1542, allocations: 108.8 kB / 493.9 MB, free: 6.996 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.1546, allocations: 212.3 kB / 494.1 MB, free: 6.742 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006634/0.1553, allocations: 336.8 kB / 494.4 MB, free: 6.375 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1553, allocations: 4 kB / 494.4 MB, free: 6.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009119/0.1562, allocations: 424 kB / 494.8 MB, free: 5.949 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.1563, allocations: 8 kB / 494.8 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.1563, allocations: 4 kB / 494.9 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001513/0.1564, allocations: 32.78 kB / 494.9 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.1569, allocations: 124.1 kB / 495 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.1582, allocations: 1.439 MB / 496.4 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.1585, allocations: 23.89 kB / 496.5 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.1585, allocations: 16 kB / 496.5 MB, free: 4.164 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.0002106/0.1587, allocations: 169.7 kB / 496.6 MB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.553e-05/0.1588, allocations: 27.72 kB / 496.7 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.983e-05/0.1589, allocations: 34.17 kB / 496.7 MB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1589, allocations: 4 kB / 496.7 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1589, allocations: 0 / 496.7 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1589, allocations: 7.984 kB / 496.7 MB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.1602, allocations: 0.7153 MB / 497.4 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.1602, allocations: 4 kB / 497.4 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/0.1607, allocations: 95.86 kB / 497.5 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.059e-05/0.1608, allocations: 28.78 kB / 497.6 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.1608, allocations: 8 kB / 497.6 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.162, allocations: 1.419 MB / 499 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.162, allocations: 4.031 kB / 499 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.1632, allocations: 0.6097 MB / 499.6 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.1633, allocations: 120.7 kB / 499.7 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.1634, allocations: 8 kB / 499.7 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.1637, allocations: 23.92 kB / 499.7 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/0.1637, allocations: 23.91 kB / 499.8 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.1638, allocations: 16 kB / 499.8 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001964/0.164, allocations: 190 kB / 500 MB, free: 420 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.164, allocations: 0 / 500 MB, free: 420 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004675/0.1644, allocations: 92 kB / 0.4883 GB, free: 328 kB / 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.001423/0.1659, allocations: 1.141 MB / 0.4895 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.1669, allocations: 424.8 kB / 0.4899 GB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1669, allocations: 0 / 0.4899 GB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005915/0.1675, allocations: 259.3 kB / 0.4901 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008167/0.1684, allocations: 44.55 kB / 0.4902 GB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007077/0.1754, allocations: 3.494 MB / 0.4936 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005612/0.176, allocations: 0.8074 MB / 0.4944 GB, free: 9.898 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002443/0.1763, allocations: 34.97 kB / 0.4944 GB, free: 9.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.1766, allocations: 135.4 kB / 0.4945 GB, free: 9.734 MB / 382.1 MB Notification: Performance of SimCode: time 1.312e-06/0.1766, allocations: 0 / 0.4945 GB, free: 9.734 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0445/0.2211, allocations: 6.366 MB / 0.5007 GB, free: 3.516 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.762/9.983, allocations: 3.75 kB / 0.5007 GB, free: 3.512 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00300043 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1)