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.004877/0.004882, allocations: 103.9 kB / 15.73 MB, free: 6.473 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.001195/0.001195, allocations: 196.9 kB / 16.67 MB, free: 6.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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.02032/0.02032, allocations: 1.237 MB / 291.8 MB, free: 1.035 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 57.05 kB / 402.8 MB, free: 9.152 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08972/0.09113, allocations: 49.72 MB / 452.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002665/0.09383, allocations: 1.535 MB / 454 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.09577, allocations: 1.27 MB / 455.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.066e-05/0.09587, allocations: 4 kB / 455.3 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005388/0.09642, allocations: 149.3 kB / 455.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007652/0.09723, allocations: 258.1 kB / 455.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.062e-05/0.09725, allocations: 0 / 455.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.09742, allocations: 107.5 kB / 455.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.673e-05/0.09749, allocations: 17.44 kB / 455.8 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.09762, allocations: 51.77 kB / 455.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.09779, allocations: 59.75 kB / 455.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.09782, allocations: 4 kB / 455.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006708/0.0985, allocations: 419 kB / 456.3 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.451e-05/0.09857, allocations: 31.84 kB / 456.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.82e-05/0.09865, allocations: 55.59 kB / 456.4 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.09917, allocations: 343 kB / 456.8 MB, free: 304 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.09919, allocations: 4 kB / 456.8 MB, free: 300 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09919, allocations: 0 / 456.8 MB, free: 300 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.0992, allocations: 0 / 456.8 MB, free: 300 kB / 318.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.0007053/0.09991, allocations: 478.5 kB / 457.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.09996, allocations: 12.03 kB / 457.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.1, allocations: 38.73 kB / 457.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.74e-05/0.1001, allocations: 20.75 kB / 457.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.1003, allocations: 243.6 kB / 457.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1003, allocations: 12.31 kB / 457.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.1004, allocations: 4.375 kB / 457.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.1005, allocations: 109.7 kB / 457.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1006, allocations: 3.984 kB / 457.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.1006, allocations: 0 / 457.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1006, allocations: 0 / 457.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.1007, allocations: 143.9 kB / 457.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.101, allocations: 261.5 kB / 458.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.1012, allocations: 154.5 kB / 458.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.153e-05/0.1013, allocations: 68.83 kB / 458.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.34e-05/0.1014, allocations: 39.91 kB / 458.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.1015, allocations: 42.5 kB / 458.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.1015, allocations: 0 / 458.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.001797/0.1033, allocations: 447.4 kB / 458.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.1033, allocations: 51.41 kB / 458.9 MB, free: 14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.1035, allocations: 215 kB / 459.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1036, allocations: 29.7 kB / 459.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.396e-05/0.1036, allocations: 112.1 kB / 459.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.1037, allocations: 31.55 kB / 459.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.1037, allocations: 25.7 kB / 459.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1038, allocations: 326.8 kB / 459.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.445e-05/0.1039, allocations: 59.97 kB / 459.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.288e-05/0.104, allocations: 63.97 kB / 459.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.1042, allocations: 141.2 kB / 459.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1042, allocations: 3.938 kB / 459.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007924/0.105, allocations: 230.2 kB / 460.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.105, allocations: 11.98 kB / 460.1 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.105, allocations: 0 / 460.1 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007212/0.1057, allocations: 68.78 kB / 460.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.981e-05/0.1058, allocations: 12 kB / 460.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.108, allocations: 1.548 MB / 461.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.195e-05/0.1082, allocations: 11.97 kB / 461.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.1082, allocations: 11.98 kB / 461.7 MB, free: 10.93 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.0001162/0.1083, allocations: 117.8 kB / 461.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.1083, allocations: 19.75 kB / 461.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008718/0.1092, allocations: 267.8 kB / 462.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.1092, allocations: 7.984 kB / 462.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1093, allocations: 0 / 462.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1093, allocations: 7.938 kB / 462.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.1095, allocations: 261.5 kB / 462.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1095, allocations: 0 / 462.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/0.1096, allocations: 19.92 kB / 462.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006609/0.1102, allocations: 72.77 kB / 462.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1102, allocations: 4 kB / 462.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/0.1121, allocations: 1.547 MB / 464 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1122, allocations: 3.938 kB / 464 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008049/0.113, allocations: 261.7 kB / 464.3 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/0.1131, allocations: 92.83 kB / 464.4 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1131, allocations: 15.92 kB / 464.4 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.5e-05/0.1132, allocations: 0 / 464.4 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.1132, allocations: 7.984 kB / 464.4 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.1132, allocations: 4 kB / 464.4 MB, free: 7.996 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.1134, allocations: 160.6 kB / 464.6 MB, free: 7.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1134, allocations: 0 / 464.6 MB, free: 7.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003841/0.1138, allocations: 79.92 kB / 464.6 MB, free: 7.762 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.001264/0.115, allocations: 0.8669 MB / 465.5 MB, free: 6.859 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005741/0.1156, allocations: 270.5 kB / 465.8 MB, free: 6.582 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1156, allocations: 0 / 465.8 MB, free: 6.582 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.116, allocations: 210.6 kB / 466 MB, free: 6.363 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.1163, allocations: 27.97 kB / 466 MB, free: 6.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006426/0.1227, allocations: 2.46 MB / 468.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.1231, allocations: 0.7201 MB / 469.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.945e-05/0.1232, allocations: 21.2 kB / 469.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.331e-05/0.1233, allocations: 43.52 kB / 469.3 MB, free: 2.98 MB / 334.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1233, allocations: 0 / 469.3 MB, free: 2.98 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.1506, allocations: 5.238 MB / 474.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.54, allocations: 11.81 kB / 474.5 MB, free: 13.89 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic.fmu > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1)