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.007484/0.007484, allocations: 101 kB / 15.73 MB, free: 6.059 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.001721/0.001721, allocations: 194 kB / 16.68 MB, free: 5.969 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.02053/0.02053, allocations: 1.236 MB / 291.8 MB, free: 13.65 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001953, allocations: 62.27 kB / 402.8 MB, free: 32.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08548/0.08745, allocations: 49.71 MB / 452.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002843/0.09033, allocations: 1.557 MB / 454 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.09237, allocations: 1.257 MB / 455.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.2e-05/0.09246, allocations: 0 / 455.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005502/0.09302, allocations: 143.7 kB / 455.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007234/0.09378, allocations: 262.7 kB / 455.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.943e-06/0.09379, allocations: 0 / 455.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.09397, allocations: 115.5 kB / 455.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.09403, allocations: 9.391 kB / 455.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.09416, allocations: 63.7 kB / 455.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.09435, allocations: 59.75 kB / 455.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.09438, allocations: 4 kB / 455.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007207/0.09511, allocations: 411.1 kB / 456.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.875e-05/0.09519, allocations: 39.81 kB / 456.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.894e-05/0.09527, allocations: 51.62 kB / 456.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005461/0.09582, allocations: 338.8 kB / 456.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.09584, allocations: 0 / 456.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.09585, allocations: 3.938 kB / 456.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.09586, allocations: 4 kB / 456.8 MB, free: 10.01 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.0009318/0.0968, allocations: 494 kB / 457.3 MB, free: 9.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.09686, allocations: 8.031 kB / 457.3 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.181e-05/0.09691, allocations: 38.73 kB / 457.3 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/0.09697, allocations: 16.84 kB / 457.3 MB, free: 9.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.09731, allocations: 243.8 kB / 457.6 MB, free: 9.133 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.09733, allocations: 384 / 457.6 MB, free: 9.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.09736, allocations: 8.375 kB / 457.6 MB, free: 9.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.09757, allocations: 109.7 kB / 457.7 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.09759, allocations: 0 / 457.7 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.09761, allocations: 0 / 457.7 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.09762, allocations: 4 kB / 457.7 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.09783, allocations: 147.9 kB / 457.8 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.09825, allocations: 257.6 kB / 458.1 MB, free: 8.562 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.0985, allocations: 150.5 kB / 458.2 MB, free: 8.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.09862, allocations: 72.83 kB / 458.3 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.142e-05/0.09872, allocations: 43.95 kB / 458.3 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.09876, allocations: 34.5 kB / 458.4 MB, free: 8.246 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.09876, allocations: 0 / 458.4 MB, free: 8.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.001821/0.1006, allocations: 443.4 kB / 458.8 MB, free: 7.785 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.1007, allocations: 59.34 kB / 458.9 MB, free: 7.715 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.1009, allocations: 216.2 kB / 459.1 MB, free: 7.492 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.101, allocations: 34.02 kB / 459.1 MB, free: 7.453 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/0.101, allocations: 116.1 kB / 459.2 MB, free: 7.336 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.1011, allocations: 31.73 kB / 459.2 MB, free: 7.305 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.1012, allocations: 21.7 kB / 459.3 MB, free: 7.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1013, allocations: 330.8 kB / 459.6 MB, free: 6.945 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.939e-05/0.1014, allocations: 59.97 kB / 459.7 MB, free: 6.887 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.663e-05/0.1015, allocations: 67.97 kB / 459.7 MB, free: 6.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.1017, allocations: 132.8 kB / 459.8 MB, free: 6.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1017, allocations: 3.938 kB / 459.9 MB, free: 6.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008321/0.1026, allocations: 230.3 kB / 460.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1026, allocations: 8 kB / 460.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1026, allocations: 0 / 460.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006996/0.1033, allocations: 76.72 kB / 460.2 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.519e-05/0.1034, allocations: 15.98 kB / 460.2 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.1058, allocations: 1.554 MB / 461.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.73e-05/0.1059, allocations: 7.984 kB / 461.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.1059, allocations: 7.984 kB / 461.7 MB, free: 4.637 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.0001328/0.1061, allocations: 129.9 kB / 461.9 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.1061, allocations: 19.84 kB / 461.9 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008707/0.107, allocations: 263.9 kB / 462.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.107, allocations: 0 / 462.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.107, allocations: 4 kB / 462.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.107, allocations: 0 / 462.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.1073, allocations: 257.5 kB / 462.4 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1073, allocations: 0 / 462.4 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-05/0.1074, allocations: 15.98 kB / 462.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006339/0.108, allocations: 76.72 kB / 462.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.108, allocations: 7.984 kB / 462.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/0.1102, allocations: 1.539 MB / 464 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.095e-05/0.1102, allocations: 3.938 kB / 464 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008063/0.111, allocations: 265.7 kB / 464.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.014e-05/0.1111, allocations: 101.1 kB / 464.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.1112, allocations: 11.88 kB / 464.4 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.395e-05/0.1112, allocations: 0 / 464.4 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.1113, allocations: 11.98 kB / 464.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1113, allocations: 4.188 kB / 464.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.1115, allocations: 167.3 kB / 464.6 MB, free: 1.539 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1115, allocations: 3.938 kB / 464.6 MB, free: 1.535 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003966/0.1119, allocations: 75.81 kB / 464.7 MB, free: 1.461 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.001363/0.1133, allocations: 0.8626 MB / 465.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006432/0.1139, allocations: 274.5 kB / 465.8 MB, free: 288 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1139, allocations: 0 / 465.8 MB, free: 288 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003972/0.1144, allocations: 206.6 kB / 466 MB, free: 68 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.1147, allocations: 29.77 kB / 466 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006472/0.1212, allocations: 2.475 MB / 468.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.1215, allocations: 0.7201 MB / 469.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.479e-05/0.1216, allocations: 25.27 kB / 469.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.1217, allocations: 43.42 kB / 469.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1217, allocations: 0 / 469.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0335/0.1552, allocations: 5.228 MB / 474.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/11.92, allocations: 0 / 474.5 MB, free: 7.598 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)