Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.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/FluxTubesExtension 1.2.0-main/package.mo", uses=false) Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/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(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic",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.007861/0.007861, allocations: 97.38 kB / 15.73 MB, free: 5.949 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.001909/0.00191, allocations: 197.1 kB / 16.68 MB, free: 5.871 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.01583/0.01583, allocations: 1.232 MB / 291.8 MB, free: 13.6 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 63.77 kB / 402.8 MB, free: 32.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08264/0.08442, allocations: 49.7 MB / 452.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002758/0.08722, allocations: 1.553 MB / 454 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.08932, allocations: 1.253 MB / 455.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.906e-05/0.0894, allocations: 0 / 455.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005996/0.09003, allocations: 151.6 kB / 455.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006403/0.09068, allocations: 267 kB / 455.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.3e-06/0.09069, allocations: 0 / 455.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.09086, allocations: 111.5 kB / 455.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.314e-05/0.09092, allocations: 9.391 kB / 455.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.09103, allocations: 51.72 kB / 455.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.09121, allocations: 71.67 kB / 455.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.09124, allocations: 4 kB / 455.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006539/0.0919, allocations: 403.2 kB / 456.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.734e-05/0.09198, allocations: 47.77 kB / 456.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.09205, allocations: 47.67 kB / 456.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004935/0.09255, allocations: 342.8 kB / 456.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.09256, allocations: 0 / 456.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.09257, allocations: 0 / 456.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.09258, allocations: 0 / 456.8 MB, free: 10.09 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006982/0.09328, allocations: 494.1 kB / 457.3 MB, free: 9.555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.09333, allocations: 11.97 kB / 457.3 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.09338, allocations: 34.75 kB / 457.3 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.09342, allocations: 16.84 kB / 457.3 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.09371, allocations: 251.7 kB / 457.6 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.09372, allocations: 384 / 457.6 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.09375, allocations: 4.375 kB / 457.6 MB, free: 9.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.09394, allocations: 105.8 kB / 457.7 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.09396, allocations: 0 / 457.7 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.09398, allocations: 0 / 457.7 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.09399, allocations: 4 kB / 457.7 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.09419, allocations: 151.8 kB / 457.8 MB, free: 8.934 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.0945, allocations: 257.6 kB / 458.1 MB, free: 8.633 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.09472, allocations: 158.5 kB / 458.2 MB, free: 8.469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.404e-05/0.09482, allocations: 68.83 kB / 458.3 MB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.749e-05/0.09491, allocations: 35.98 kB / 458.3 MB, free: 8.363 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.09494, allocations: 34.78 kB / 458.4 MB, free: 8.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.965e-06/0.09495, allocations: 0 / 458.4 MB, free: 8.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.001687/0.09664, allocations: 451.1 kB / 458.8 MB, free: 7.852 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.09669, allocations: 51.41 kB / 458.9 MB, free: 7.789 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.09693, allocations: 216.2 kB / 459.1 MB, free: 7.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.09695, allocations: 29.64 kB / 459.1 MB, free: 7.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/0.09704, allocations: 116.1 kB / 459.2 MB, free: 7.414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.09709, allocations: 27.75 kB / 459.2 MB, free: 7.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.09714, allocations: 26.08 kB / 459.3 MB, free: 7.355 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.09729, allocations: 330.8 kB / 459.6 MB, free: 7.023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.361e-05/0.09738, allocations: 63.95 kB / 459.6 MB, free: 6.961 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.824e-05/0.09746, allocations: 63.91 kB / 459.7 MB, free: 6.898 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.09765, allocations: 140.8 kB / 459.8 MB, free: 6.758 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.09766, allocations: 3.938 kB / 459.9 MB, free: 6.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007399/0.0984, allocations: 234.3 kB / 460.1 MB, free: 6.516 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.09843, allocations: 8 kB / 460.1 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.09844, allocations: 0 / 460.1 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006735/0.09912, allocations: 80.75 kB / 460.2 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.317e-05/0.09919, allocations: 8 kB / 460.2 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.1013, allocations: 1.554 MB / 461.7 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.123e-05/0.1014, allocations: 15.92 kB / 461.7 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.1014, allocations: 4 kB / 461.7 MB, free: 4.707 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 7 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.1015, allocations: 125.8 kB / 461.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.1016, allocations: 19.84 kB / 461.9 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008266/0.1024, allocations: 268 kB / 462.2 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1024, allocations: 0 / 462.2 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1024, allocations: 0 / 462.2 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1024, allocations: 3.938 kB / 462.2 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.1027, allocations: 265.5 kB / 462.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1027, allocations: 0 / 462.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.1027, allocations: 12 kB / 462.4 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006008/0.1033, allocations: 76.77 kB / 462.5 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1034, allocations: 0 / 462.5 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/0.1053, allocations: 1.543 MB / 464 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.1053, allocations: 7.922 kB / 464.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007644/0.1061, allocations: 261.8 kB / 464.3 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.055e-05/0.1061, allocations: 97.02 kB / 464.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.1062, allocations: 3.938 kB / 464.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.883e-05/0.1062, allocations: 0 / 464.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.1063, allocations: 19.89 kB / 464.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.1063, allocations: 8 kB / 464.4 MB, free: 1.773 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001572/0.1065, allocations: 167.3 kB / 464.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1065, allocations: 0 / 464.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003637/0.1068, allocations: 79.98 kB / 464.7 MB, free: 1.531 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 7 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001234/0.1081, allocations: 0.8664 MB / 465.5 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005767/0.1087, allocations: 262.6 kB / 465.8 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1087, allocations: 3.938 kB / 465.8 MB, free: 364 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003746/0.1091, allocations: 210.6 kB / 466 MB, free: 140 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.1093, allocations: 20.86 kB / 466 MB, free: 120 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006171/0.1155, allocations: 2.475 MB / 468.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.1159, allocations: 0.7201 MB / 469.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.327e-05/0.1159, allocations: 25.27 kB / 469.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.896e-05/0.116, allocations: 39.42 kB / 469.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.116, allocations: 0 / 469.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/0.1473, allocations: 5.241 MB / 474.5 MB, free: 7.664 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.56, allocations: 0 / 474.5 MB, free: 7.664 MB / 350.1 MB (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.sim & python3 -m fmpy simulate --output-file FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic.fmu > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1)