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.001731/0.001731, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002197/0.002197, allocations: 192.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.022/2.022, allocations: 222.9 MB / 240.2 MB, free: 4.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.02794/0.02794, allocations: 1.23 MB / 291.6 MB, free: 1.102 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 55.91 kB / 352.4 MB, free: 1.672 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.622/0.6235, allocations: 49.7 MB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.005023/0.6286, allocations: 1.538 MB / 403.7 MB, free: 9.629 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0029/0.6315, allocations: 1.261 MB / 404.9 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.362e-05/0.6316, allocations: 0.9375 kB / 404.9 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008021/0.6324, allocations: 152.8 kB / 405.1 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007526/0.6332, allocations: 258.9 kB / 405.3 MB, free: 8.582 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.096e-06/0.6332, allocations: 0 / 405.3 MB, free: 8.582 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.6334, allocations: 123 kB / 405.5 MB, free: 8.523 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.97e-05/0.6335, allocations: 7.016 kB / 405.5 MB, free: 8.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.6337, allocations: 48.72 kB / 405.5 MB, free: 8.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.6339, allocations: 68.23 kB / 405.6 MB, free: 8.469 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.6339, allocations: 4.375 kB / 405.6 MB, free: 8.469 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008236/0.6348, allocations: 405.8 kB / 406 MB, free: 8.324 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.6349, allocations: 41.78 kB / 406 MB, free: 8.305 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.172e-05/0.635, allocations: 49.12 kB / 406.1 MB, free: 8.273 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007334/0.6357, allocations: 338.8 kB / 406.4 MB, free: 8.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.6357, allocations: 4.703 kB / 406.4 MB, free: 8.156 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.6358, allocations: 0 / 406.4 MB, free: 8.156 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.6358, allocations: 3.938 kB / 406.4 MB, free: 8.152 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.0008833/0.6367, allocations: 484.6 kB / 406.9 MB, free: 7.707 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.524e-05/0.6367, allocations: 10.45 kB / 406.9 MB, free: 7.707 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.6368, allocations: 32.55 kB / 406.9 MB, free: 7.668 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.6369, allocations: 20.61 kB / 406.9 MB, free: 7.656 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.6372, allocations: 249.8 kB / 407.2 MB, free: 7.414 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.6372, allocations: 2.969 kB / 407.2 MB, free: 7.414 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.6373, allocations: 2.938 kB / 407.2 MB, free: 7.414 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.6375, allocations: 106.5 kB / 407.3 MB, free: 7.363 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.6375, allocations: 3.938 kB / 407.3 MB, free: 7.363 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.6376, allocations: 0 / 407.3 MB, free: 7.363 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.6376, allocations: 0 / 407.3 MB, free: 7.363 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.6379, allocations: 142.6 kB / 407.4 MB, free: 7.344 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.6383, allocations: 262.1 kB / 407.7 MB, free: 7.125 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.6386, allocations: 156.9 kB / 407.8 MB, free: 7.07 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.6388, allocations: 73.44 kB / 407.9 MB, free: 7.047 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.6389, allocations: 43.25 kB / 408 MB, free: 7.035 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.6389, allocations: 37.06 kB / 408 MB, free: 6.992 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.639, allocations: 0 / 408 MB, free: 6.992 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.002129/0.6411, allocations: 444.2 kB / 408.4 MB, free: 6.797 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.6411, allocations: 53.09 kB / 408.5 MB, free: 6.734 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.6415, allocations: 216.6 kB / 408.7 MB, free: 6.598 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.6415, allocations: 25.7 kB / 408.7 MB, free: 6.566 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.651e-05/0.6416, allocations: 116.7 kB / 408.8 MB, free: 6.461 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.696e-05/0.6417, allocations: 29.91 kB / 408.9 MB, free: 6.438 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.6417, allocations: 22.92 kB / 408.9 MB, free: 6.418 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.6419, allocations: 332.8 kB / 409.2 MB, free: 6.094 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.6421, allocations: 65.31 kB / 409.3 MB, free: 6.078 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.6422, allocations: 57.78 kB / 409.3 MB, free: 6.07 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.6425, allocations: 136.6 kB / 409.5 MB, free: 6.031 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.6425, allocations: 3.938 kB / 409.5 MB, free: 6.027 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009551/0.6435, allocations: 236.6 kB / 409.7 MB, free: 5.945 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.6435, allocations: 5.562 kB / 409.7 MB, free: 5.945 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.6435, allocations: 0.75 kB / 409.7 MB, free: 5.945 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007931/0.6443, allocations: 68.97 kB / 409.8 MB, free: 5.934 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.212e-05/0.6444, allocations: 16.17 kB / 409.8 MB, free: 5.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/0.6469, allocations: 1.556 MB / 411.3 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.696e-05/0.647, allocations: 14.86 kB / 411.4 MB, free: 4.449 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.647, allocations: 2.812 kB / 411.4 MB, free: 4.449 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 (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.0001348/0.6471, allocations: 122.5 kB / 411.5 MB, free: 4.332 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.6472, allocations: 19.27 kB / 411.5 MB, free: 4.32 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.6482, allocations: 264.8 kB / 411.8 MB, free: 4.23 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.6482, allocations: 2.156 kB / 411.8 MB, free: 4.23 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.6483, allocations: 0 / 411.8 MB, free: 4.23 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.6483, allocations: 1.812 kB / 411.8 MB, free: 4.23 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.6487, allocations: 259.2 kB / 412 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.6487, allocations: 0.75 kB / 412 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.021e-05/0.6488, allocations: 20.28 kB / 412 MB, free: 4.004 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006826/0.6495, allocations: 77.53 kB / 412.1 MB, free: 3.984 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.6495, allocations: 1.969 kB / 412.1 MB, free: 3.984 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/0.6518, allocations: 1.547 MB / 413.7 MB, free: 2.535 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.6518, allocations: 3.938 kB / 413.7 MB, free: 2.531 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009762/0.6528, allocations: 266.8 kB / 413.9 MB, free: 2.41 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.119e-05/0.6529, allocations: 91.59 kB / 414 MB, free: 2.309 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.653, allocations: 9.922 kB / 414 MB, free: 2.301 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.136e-05/0.653, allocations: 2.031 kB / 414 MB, free: 2.301 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.6531, allocations: 13.5 kB / 414 MB, free: 2.297 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.6531, allocations: 7.781 kB / 414 MB, free: 2.293 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002463/0.6534, allocations: 164.7 kB / 414.2 MB, free: 2.191 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6534, allocations: 0 / 414.2 MB, free: 2.191 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005265/0.6539, allocations: 82.86 kB / 414.3 MB, free: 2.172 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 (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.001505/0.6554, allocations: 0.8623 MB / 415.1 MB, free: 1.496 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008327/0.6563, allocations: 272.3 kB / 415.4 MB, free: 1.355 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.6563, allocations: 9.375 kB / 415.4 MB, free: 1.348 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004851/0.6568, allocations: 198.6 kB / 415.6 MB, free: 1.227 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.6572, allocations: 33.34 kB / 415.6 MB, free: 1.211 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008176/0.6653, allocations: 2.453 MB / 418.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000849/0.6662, allocations: 0.7196 MB / 418.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.6663, allocations: 30.64 kB / 418.9 MB, free: 15.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.563e-05/0.6664, allocations: 39.64 kB / 418.9 MB, free: 15 MB / 302.1 MB Notification: Performance of SimCode: time 5.049e-06/0.6665, allocations: 0 / 418.9 MB, free: 15 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0492/0.7157, allocations: 5.154 MB / 424 MB, free: 13.41 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.81/21.52, allocations: 5.406 kB / 424 MB, free: 13.41 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/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)