Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.conf.json 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/FluxTubesExtension 1.2.0-main/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/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) Running command: "" <> buildModelFMU(FluxTubesExtension.Examples.SaturatedInductor,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FluxTubesExtension.Examples.SaturatedInductor,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001215, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.00662/0.00662, allocations: 1.182 MB / 14.44 MB, free: 0.8594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 221.4 MB / 236.6 MB, free: 13.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008557/0.0008555, allocations: 88.61 kB / 287.8 MB, free: 11.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.385e-05/3.394e-05, allocations: 0 / 346.5 MB, free: 1.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2663, allocations: 50.67 MB / 397.2 MB, free: 33.01 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09554/0.3619, allocations: 84.34 MB / 481.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.3621, allocations: 67.97 kB / 481.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03192/0.3941, allocations: 11.28 MB / 492.9 MB, free: 1.156 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3941, allocations: 0 / 492.9 MB, free: 1.156 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.2e-05/0.3941, allocations: 8 kB / 492.9 MB, free: 1.148 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0008539/0.395, allocations: 0.5722 MB / 493.4 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3951, allocations: 12.03 kB / 493.4 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.842e-05/0.3951, allocations: 58.55 kB / 493.5 MB, free: 464 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.314e-05/0.3952, allocations: 39.53 kB / 493.5 MB, free: 424 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.3956, allocations: 281.4 kB / 493.8 MB, free: 104 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.3956, allocations: 20.56 kB / 493.8 MB, free: 84 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.89e-05/0.3957, allocations: 31.95 kB / 493.9 MB, free: 52 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.3962, allocations: 257 kB / 494.1 MB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3962, allocations: 7.922 kB / 494.1 MB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.3962, allocations: 12 kB / 494.1 MB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.3963, allocations: 7.938 kB / 494.1 MB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004006/0.3967, allocations: 234.2 kB / 494.4 MB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.3985, allocations: 1.099 MB / 495.5 MB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/0.399, allocations: 248 kB / 495.7 MB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.3992, allocations: 120.8 kB / 495.8 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.076e-05/0.3993, allocations: 15.98 kB / 495.8 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.3994, allocations: 34.56 kB / 495.9 MB, free: 13.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 2.595e-06/0.3994, allocations: 0 / 495.9 MB, free: 13.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.003838/0.4032, allocations: 1.351 MB / 497.2 MB, free: 12.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.4033, allocations: 55.41 kB / 497.3 MB, free: 12.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.4036, allocations: 251.4 kB / 497.5 MB, free: 12.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.4037, allocations: 29.81 kB / 497.6 MB, free: 12.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.4038, allocations: 204 kB / 497.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.904e-05/0.4039, allocations: 110.5 kB / 497.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/0.4039, allocations: 4 kB / 497.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4041, allocations: 342.8 kB / 498.2 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.4043, allocations: 119.6 kB / 498.3 MB, free: 11.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.4045, allocations: 165.1 kB / 498.5 MB, free: 11.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.4048, allocations: 130.1 kB / 498.6 MB, free: 11.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4048, allocations: 4 kB / 498.6 MB, free: 11.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001636/0.4064, allocations: 0.6251 MB / 499.2 MB, free: 10.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.4064, allocations: 8 kB / 499.2 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4065, allocations: 0 / 499.2 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002798/0.4093, allocations: 0.5441 MB / 499.8 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.4096, allocations: 59.95 kB / 499.9 MB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.4108, allocations: 1.292 MB / 0.4894 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.4111, allocations: 24.02 kB / 0.4894 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/0.4111, allocations: 19.12 kB / 0.4894 GB, free: 8.438 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 8,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.4113, allocations: 122.9 kB / 0.4896 GB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/0.4114, allocations: 35.61 kB / 0.4896 GB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.4131, allocations: 0.584 MB / 0.4902 GB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.4131, allocations: 4 kB / 0.4902 GB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4131, allocations: 4 kB / 0.4902 GB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.4131, allocations: 3.984 kB / 0.4902 GB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.4152, allocations: 1.061 MB / 0.4912 GB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4153, allocations: 3.938 kB / 0.4912 GB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.4155, allocations: 47.94 kB / 0.4913 GB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002681/0.4182, allocations: 0.5363 MB / 0.4918 GB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.4182, allocations: 4 kB / 0.4918 GB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009552/0.4192, allocations: 1.301 MB / 0.4931 GB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4192, allocations: 0 / 0.4931 GB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.421, allocations: 0.814 MB / 0.4939 GB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.4212, allocations: 108.7 kB / 0.494 GB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.4212, allocations: 11.95 kB / 0.494 GB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.4214, allocations: 15.98 kB / 0.494 GB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.4215, allocations: 15.98 kB / 0.494 GB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.4215, allocations: 15.98 kB / 0.494 GB, free: 3.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000211/0.4218, allocations: 199.2 kB / 0.4942 GB, free: 3.375 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4218, allocations: 0 / 0.4942 GB, free: 3.375 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004379/0.4222, allocations: 100 kB / 0.4943 GB, free: 3.277 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 8,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002163/0.4244, allocations: 1.459 MB / 0.4957 GB, free: 1.777 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006633/0.4251, allocations: 307.5 kB / 0.496 GB, free: 1.477 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4251, allocations: 3.938 kB / 0.496 GB, free: 1.473 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003465/0.4254, allocations: 168.2 kB / 0.4962 GB, free: 1.309 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.4258, allocations: 34.7 kB / 0.4962 GB, free: 1.273 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.4273, allocations: 0.5972 MB / 0.4968 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1924/0.6197, allocations: 0.7885 MB / 0.4976 GB, free: 100.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002004/0.6199, allocations: 21.84 kB / 0.4976 GB, free: 100.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.6201, allocations: 108.9 kB / 0.4977 GB, free: 100.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.543e-06/0.6201, allocations: 0 / 0.4977 GB, free: 100.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/0.6417, allocations: 7.046 MB / 0.5046 GB, free: 100 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/0.642, allocations: 187.3 kB / 0.5047 GB, free: 99.81 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.197/2.839, allocations: 0 / 0.5047 GB, free: 99.81 MB / 378.7 MB (rm -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FluxTubesExtension_FluxTubesExtension_Examples_SaturatedInductor_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 FluxTubesExtension_FluxTubesExtension_Examples_SaturatedInductor.fmu > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1)