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.000906/0.000906, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.0009661/0.0009662, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.02046/0.02046, allocations: 1.224 MB / 292.3 MB, free: 1.047 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002937, allocations: 12 kB / 353.5 MB, free: 2.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3132, allocations: 50.68 MB / 404.2 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.00197/0.3152, allocations: 1.237 MB / 405.5 MB, free: 9.711 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.3169, allocations: 1.154 MB / 406.6 MB, free: 9.141 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.317, allocations: 1.219 kB / 406.6 MB, free: 9.141 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004023/0.3174, allocations: 119.5 kB / 406.7 MB, free: 9.102 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005234/0.3179, allocations: 175.8 kB / 406.9 MB, free: 9.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.109e-06/0.3179, allocations: 3.938 kB / 406.9 MB, free: 9.016 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.3181, allocations: 131.4 kB / 407 MB, free: 8.969 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.503e-05/0.3182, allocations: 10.42 kB / 407 MB, free: 8.957 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.3183, allocations: 55.05 kB / 407.1 MB, free: 8.934 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.3184, allocations: 66.61 kB / 407.2 MB, free: 8.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.3185, allocations: 3.219 kB / 407.2 MB, free: 8.91 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000463/0.3189, allocations: 265.9 kB / 407.4 MB, free: 8.832 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.308e-05/0.319, allocations: 32.16 kB / 407.5 MB, free: 8.824 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.3191, allocations: 45.98 kB / 407.5 MB, free: 8.781 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.3193, allocations: 193.2 kB / 407.7 MB, free: 8.734 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3194, allocations: 1.031 kB / 407.7 MB, free: 8.734 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3194, allocations: 7.938 kB / 407.7 MB, free: 8.727 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.3194, allocations: 0 / 407.7 MB, free: 8.727 MB / 286.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.0005453/0.3199, allocations: 473.9 kB / 408.2 MB, free: 8.281 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.32, allocations: 9.312 kB / 408.2 MB, free: 8.281 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.267e-05/0.32, allocations: 36.72 kB / 408.2 MB, free: 8.238 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.3201, allocations: 15.12 kB / 408.2 MB, free: 8.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.3203, allocations: 229.2 kB / 408.5 MB, free: 8.008 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.3203, allocations: 6.344 kB / 408.5 MB, free: 8.004 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.3203, allocations: 6.984 kB / 408.5 MB, free: 8 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.3205, allocations: 101.7 kB / 408.6 MB, free: 7.953 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3205, allocations: 1.062 kB / 408.6 MB, free: 7.953 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3205, allocations: 11.52 kB / 408.6 MB, free: 7.945 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3206, allocations: 5.094 kB / 408.6 MB, free: 7.941 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.3208, allocations: 142.9 kB / 408.7 MB, free: 7.922 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.321, allocations: 258.4 kB / 409 MB, free: 7.707 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.3212, allocations: 158.7 kB / 409.1 MB, free: 7.652 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.525e-05/0.3213, allocations: 70.52 kB / 409.2 MB, free: 7.629 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.206e-05/0.3214, allocations: 36.98 kB / 409.2 MB, free: 7.625 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.3214, allocations: 36.31 kB / 409.3 MB, free: 7.582 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.3214, allocations: 0 / 409.3 MB, free: 7.582 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.00158/0.323, allocations: 436.4 kB / 409.7 MB, free: 7.391 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.3231, allocations: 52.41 kB / 409.7 MB, free: 7.328 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.3233, allocations: 219.6 kB / 410 MB, free: 7.188 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.3233, allocations: 28.08 kB / 410 MB, free: 7.156 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.3233, allocations: 122.5 kB / 410.1 MB, free: 7.043 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.3234, allocations: 29.97 kB / 410.1 MB, free: 7.02 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.3234, allocations: 0 / 410.1 MB, free: 7.02 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.786e-05/0.3235, allocations: 333.5 kB / 410.5 MB, free: 6.695 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.672e-05/0.3235, allocations: 54.8 kB / 410.5 MB, free: 6.688 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.672e-05/0.3236, allocations: 61.77 kB / 410.6 MB, free: 6.676 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.627e-05/0.3237, allocations: 61.36 kB / 410.6 MB, free: 6.664 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3237, allocations: 0.6562 kB / 410.6 MB, free: 6.664 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006816/0.3244, allocations: 239 kB / 410.9 MB, free: 6.578 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3244, allocations: 7.688 kB / 410.9 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3245, allocations: 0.6562 kB / 410.9 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006418/0.3251, allocations: 74.38 kB / 411 MB, free: 6.562 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.977e-05/0.3252, allocations: 20.7 kB / 411 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.3268, allocations: 1.419 MB / 412.4 MB, free: 5.211 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.172e-05/0.3269, allocations: 6.656 kB / 412.4 MB, free: 5.207 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.3269, allocations: 8.391 kB / 412.4 MB, free: 5.203 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 9.958e-05/0.327, allocations: 126.2 kB / 412.5 MB, free: 5.082 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.327, allocations: 19.14 kB / 412.5 MB, free: 5.07 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000784/0.3278, allocations: 275.9 kB / 412.8 MB, free: 4.969 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3278, allocations: 1.156 kB / 412.8 MB, free: 4.969 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.3278, allocations: 0.6094 kB / 412.8 MB, free: 4.969 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3278, allocations: 1.906 kB / 412.8 MB, free: 4.969 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.3281, allocations: 262.9 kB / 413.1 MB, free: 4.746 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3281, allocations: 0 / 413.1 MB, free: 4.746 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-05/0.3281, allocations: 13.73 kB / 413.1 MB, free: 4.746 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005725/0.3287, allocations: 74.08 kB / 413.2 MB, free: 4.73 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3287, allocations: 2.828 kB / 413.2 MB, free: 4.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.3302, allocations: 1.427 MB / 414.6 MB, free: 3.391 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3303, allocations: 4.156 kB / 414.6 MB, free: 3.387 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008002/0.3311, allocations: 262.9 kB / 414.9 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.3311, allocations: 96.17 kB / 414.9 MB, free: 3.164 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.3312, allocations: 0.7969 kB / 414.9 MB, free: 3.164 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.653e-05/0.3312, allocations: 10.47 kB / 415 MB, free: 3.156 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.3313, allocations: 10.03 kB / 415 MB, free: 3.156 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.3313, allocations: 3.609 kB / 415 MB, free: 3.156 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.3314, allocations: 167 kB / 415.1 MB, free: 3.051 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.032e-06/0.3314, allocations: 0 / 415.1 MB, free: 3.051 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004391/0.3319, allocations: 79.67 kB / 415.2 MB, free: 3.031 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00103/0.3329, allocations: 0.858 MB / 416.1 MB, free: 2.352 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005147/0.3334, allocations: 275.8 kB / 416.3 MB, free: 2.203 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3335, allocations: 0 / 416.3 MB, free: 2.203 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.3338, allocations: 195.6 kB / 416.5 MB, free: 2.082 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.334, allocations: 24.55 kB / 416.6 MB, free: 2.07 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004715/0.3388, allocations: 1.469 MB / 418 MB, free: 1.418 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.339, allocations: 0.7286 MB / 418.8 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.097e-05/0.3391, allocations: 18.92 kB / 418.8 MB, free: 0.707 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.022e-05/0.3392, allocations: 42.28 kB / 418.8 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3392, allocations: 0 / 418.8 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.3579, allocations: 4.772 MB / 423.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002893/0.3583, allocations: 223.9 kB / 423.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.331, allocations: 1.062 kB / 423.8 MB, free: 15.26 MB / 302.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/linux/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) Environment - environmentSimulation: