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.001189/0.001189, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001307/0.001307, allocations: 197.2 kB / 16.26 MB, free: 6.621 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.197/1.197, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.892/0.892, allocations: 1.237 MB / 291.3 MB, free: 1.242 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 59.91 kB / 351.9 MB, free: 6.938 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0815/0.08263, allocations: 49.7 MB / 401.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002216/0.08488, allocations: 1.596 MB / 403.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.08635, allocations: 1.25 MB / 404.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.0864, allocations: 4 kB / 404.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004352/0.08685, allocations: 143.7 kB / 404.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004939/0.08736, allocations: 229.9 kB / 404.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.26e-06/0.08737, allocations: 4 kB / 404.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.08749, allocations: 115.5 kB / 405 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.652e-05/0.08753, allocations: 21.36 kB / 405 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.337e-05/0.08762, allocations: 47.77 kB / 405 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.08775, allocations: 71.69 kB / 405.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.08777, allocations: 4 kB / 405.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004621/0.08824, allocations: 411 kB / 405.5 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.51e-05/0.08829, allocations: 43.83 kB / 405.5 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.815e-05/0.08835, allocations: 55.55 kB / 405.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.0887, allocations: 331.1 kB / 405.9 MB, free: 0.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.08872, allocations: 3.984 kB / 405.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.08872, allocations: 0 / 405.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.08873, allocations: 0 / 405.9 MB, free: 0.8711 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.0005245/0.08926, allocations: 486.4 kB / 406.4 MB, free: 356 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.0893, allocations: 8.031 kB / 406.4 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.275e-05/0.08934, allocations: 42.73 kB / 406.4 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.08938, allocations: 20.75 kB / 406.5 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.08959, allocations: 243.7 kB / 406.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-06/0.08961, allocations: 4.375 kB / 406.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.08962, allocations: 384 / 406.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.08977, allocations: 113.7 kB / 406.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.08978, allocations: 0 / 406.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.08979, allocations: 0 / 406.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.0898, allocations: 0 / 406.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.08995, allocations: 143.9 kB / 407 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002262/0.09018, allocations: 261.5 kB / 407.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.09036, allocations: 154.5 kB / 407.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.942e-05/0.09044, allocations: 72.83 kB / 407.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.965e-05/0.0905, allocations: 39.91 kB / 407.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.09052, allocations: 38.5 kB / 407.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.001e-06/0.09053, allocations: 0 / 407.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001716/0.09225, allocations: 443.6 kB / 408 MB, free: 14.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.09229, allocations: 51.41 kB / 408 MB, free: 14.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.09248, allocations: 223 kB / 408.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.0925, allocations: 29.64 kB / 408.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.09256, allocations: 116.1 kB / 408.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.0926, allocations: 31.55 kB / 408.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.09264, allocations: 21.72 kB / 408.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.891e-05/0.09273, allocations: 334.8 kB / 408.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.404e-05/0.0928, allocations: 55.97 kB / 408.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.198e-05/0.09287, allocations: 59.97 kB / 408.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.09302, allocations: 136.8 kB / 409 MB, free: 13.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.09303, allocations: 3.938 kB / 409 MB, free: 13.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000765/0.0938, allocations: 234.2 kB / 409.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.09383, allocations: 4 kB / 409.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.09384, allocations: 3.984 kB / 409.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007222/0.09456, allocations: 76.72 kB / 409.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.898e-05/0.09463, allocations: 8 kB / 409.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.09652, allocations: 1.562 MB / 410.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.796e-05/0.0966, allocations: 4.188 kB / 410.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.09662, allocations: 11.98 kB / 410.9 MB, free: 11.5 MB / 350.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 8.018e-05/0.0967, allocations: 117.8 kB / 411 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.09673, allocations: 23.69 kB / 411 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008075/0.09755, allocations: 267.7 kB / 411.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.09756, allocations: 0 / 411.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.09757, allocations: 3.984 kB / 411.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.09758, allocations: 7.938 kB / 411.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.09776, allocations: 261.5 kB / 411.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.09777, allocations: 0 / 411.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.901e-05/0.09781, allocations: 11.98 kB / 411.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006466/0.09847, allocations: 76.72 kB / 411.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.09849, allocations: 0 / 411.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/0.1001, allocations: 1.547 MB / 413.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1001, allocations: 11.91 kB / 413.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009536/0.1011, allocations: 265.6 kB / 413.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.1012, allocations: 89.11 kB / 413.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.1012, allocations: 11.92 kB / 413.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.297e-05/0.1013, allocations: 7.938 kB / 413.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.1014, allocations: 11.98 kB / 413.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.1014, allocations: 0 / 413.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001918/0.1016, allocations: 164.4 kB / 413.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1016, allocations: 0 / 413.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004951/0.1021, allocations: 79.92 kB / 413.8 MB, free: 8.324 MB / 350.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.001696/0.1038, allocations: 0.8562 MB / 414.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006325/0.1045, allocations: 270.5 kB / 414.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1045, allocations: 4 kB / 414.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003917/0.1049, allocations: 206.6 kB / 415.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.1053, allocations: 30.56 kB / 415.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007963/0.1132, allocations: 2.487 MB / 417.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.1136, allocations: 0.7206 MB / 418.4 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.392e-05/0.1137, allocations: 28.73 kB / 418.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.472e-05/0.1138, allocations: 39.42 kB / 418.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1138, allocations: 0 / 418.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3398/0.4537, allocations: 5.071 MB / 423.5 MB, free: 52.9 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.4539, allocations: 243.6 kB / 423.8 MB, free: 52.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/2.281, allocations: 3.5 kB / 423.8 MB, free: 52.65 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)