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: 111.3 kB / 15.23 MB, free: 0.6602 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.001276/0.001276, allocations: 192.8 kB / 16.13 MB, free: 6.707 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.234/1.234, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.01975/0.01975, allocations: 1.234 MB / 291.2 MB, free: 1.32 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 59.91 kB / 351.7 MB, free: 7.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08162/0.08274, allocations: 49.7 MB / 401.4 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002434/0.08521, allocations: 1.604 MB / 403 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.08691, allocations: 1.273 MB / 404.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.361e-05/0.08698, allocations: 4 kB / 404.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004737/0.08747, allocations: 147.7 kB / 404.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004982/0.08797, allocations: 227.3 kB / 404.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.322e-06/0.08799, allocations: 0 / 404.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.08814, allocations: 163.4 kB / 404.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.08819, allocations: 13.38 kB / 404.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.08829, allocations: 55.77 kB / 404.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.08844, allocations: 71.69 kB / 405 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.08847, allocations: 4 kB / 405 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005675/0.08904, allocations: 431.1 kB / 405.4 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.976e-05/0.0891, allocations: 35.83 kB / 405.4 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.417e-05/0.08916, allocations: 51.61 kB / 405.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004158/0.08958, allocations: 367 kB / 405.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.0896, allocations: 0 / 405.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.0896, allocations: 4 kB / 405.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.08961, allocations: 0 / 405.9 MB, free: 0.9102 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.0005829/0.0902, allocations: 494.3 kB / 406.3 MB, free: 388 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.09024, allocations: 16.02 kB / 406.4 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.09028, allocations: 30.75 kB / 406.4 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.09032, allocations: 16.75 kB / 406.4 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.09055, allocations: 243.7 kB / 406.6 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-06/0.09057, allocations: 384 / 406.6 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.09059, allocations: 4.375 kB / 406.6 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.09075, allocations: 109.7 kB / 406.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.09076, allocations: 4 kB / 406.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.09078, allocations: 0 / 406.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.09079, allocations: 4 kB / 406.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.09095, allocations: 147.9 kB / 406.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002401/0.0912, allocations: 261.5 kB / 407.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.09139, allocations: 150.8 kB / 407.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.84e-05/0.09147, allocations: 72.77 kB / 407.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-05/0.09154, allocations: 43.89 kB / 407.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.09157, allocations: 42.5 kB / 407.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.09158, allocations: 0 / 407.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001848/0.09343, allocations: 435.2 kB / 407.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.09347, allocations: 51.41 kB / 407.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.09368, allocations: 223 kB / 408.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.0937, allocations: 25.7 kB / 408.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.09376, allocations: 112.1 kB / 408.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.0938, allocations: 31.92 kB / 408.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.09385, allocations: 25.7 kB / 408.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.09395, allocations: 326.8 kB / 408.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.985e-05/0.09402, allocations: 59.97 kB / 408.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.0941, allocations: 67.84 kB / 408.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.09426, allocations: 136.8 kB / 408.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.09427, allocations: 3.938 kB / 408.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008011/0.09508, allocations: 234.2 kB / 409.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.0951, allocations: 4 kB / 409.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.09511, allocations: 0 / 409.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007492/0.09587, allocations: 76.77 kB / 409.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.236e-05/0.09594, allocations: 19.92 kB / 409.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.09781, allocations: 1.436 MB / 410.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.063e-05/0.09789, allocations: 7.938 kB / 410.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.09791, allocations: 4 kB / 410.7 MB, free: 11.66 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 9.183e-05/0.09801, allocations: 129.8 kB / 410.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.09804, allocations: 11.81 kB / 410.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008689/0.09891, allocations: 279.9 kB / 411.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.09893, allocations: 0 / 411.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.09893, allocations: 0 / 411.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.09894, allocations: 0 / 411.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.09914, allocations: 257.6 kB / 411.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.09916, allocations: 7.938 kB / 411.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.471e-05/0.09921, allocations: 12 kB / 411.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006775/0.09989, allocations: 80.75 kB / 411.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.09991, allocations: 3.938 kB / 411.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.1016, allocations: 1.432 MB / 412.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1016, allocations: 0 / 412.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008047/0.1024, allocations: 269.7 kB / 413.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.1025, allocations: 92.92 kB / 413.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.1025, allocations: 0 / 413.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.241e-05/0.1026, allocations: 4 kB / 413.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.1026, allocations: 11.97 kB / 413.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.1026, allocations: 4 kB / 413.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.1028, allocations: 168.4 kB / 413.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1028, allocations: 4.125 kB / 413.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003426/0.1031, allocations: 83.92 kB / 413.5 MB, free: 8.602 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.001192/0.1043, allocations: 0.8549 MB / 414.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005263/0.1049, allocations: 266.5 kB / 414.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1049, allocations: 0 / 414.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003618/0.1052, allocations: 206.5 kB / 414.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.1055, allocations: 27.88 kB / 414.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006463/0.112, allocations: 2.493 MB / 417.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.1122, allocations: 0.7204 MB / 418.1 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.17e-05/0.1123, allocations: 21.3 kB / 418.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.1124, allocations: 43.42 kB / 418.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1124, allocations: 0 / 418.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1449/0.2573, allocations: 4.924 MB / 423.1 MB, free: 52 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001292/0.2574, allocations: 249.9 kB / 423.3 MB, free: 51.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/1.996, allocations: 0 / 423.3 MB, free: 51.75 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)