Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Magnetic.TestTransformer.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/HanserModelica 2.0.0-master/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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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(HanserModelica.Magnetic.TestTransformer,fileNamePrefix="HanserModelica_HanserModelica_Magnetic_TestTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Magnetic.TestTransformer,fileNamePrefix="HanserModelica_HanserModelica_Magnetic_TestTransformer",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.005372/0.005372, allocations: 171.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04998/0.04998, allocations: 8.798 MB / 24.65 MB, free: 4.094 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 223.2 MB / 250.7 MB, free: 4.828 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.000936/0.000936, allocations: 105.1 kB / 304 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.0003392, allocations: 8 kB / 367.1 MB, free: 6.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08727/0.08763, allocations: 52.55 MB / 419.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2561/0.3437, allocations: 83.39 MB / 0.4913 GB, free: 9.031 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.344, allocations: 67.97 kB / 0.4914 GB, free: 8.965 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02621/0.3702, allocations: 10.39 MB / 0.5015 GB, free: 14.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3702, allocations: 0 / 0.5015 GB, free: 14.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.066e-05/0.3703, allocations: 15.98 kB / 0.5015 GB, free: 14.77 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001097/0.3714, allocations: 0.7483 MB / 0.5023 GB, free: 13.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3714, allocations: 8.562 kB / 0.5023 GB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.495e-05/0.3715, allocations: 90.52 kB / 0.5024 GB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.963e-05/0.3716, allocations: 59.34 kB / 0.5024 GB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.3721, allocations: 354.8 kB / 0.5028 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.3721, allocations: 37.31 kB / 0.5028 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.636e-05/0.3722, allocations: 53.59 kB / 0.5028 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008216/0.373, allocations: 0.5237 MB / 0.5033 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.373, allocations: 1.922 kB / 0.5034 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/0.3731, allocations: 24 kB / 0.5034 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.3731, allocations: 12 kB / 0.5034 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007502/0.3738, allocations: 407.7 kB / 0.5038 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002498/0.3764, allocations: 1.954 MB / 0.5057 GB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006338/0.377, allocations: 308.2 kB / 0.506 GB, free: 10 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.377, allocations: 4.281 kB / 0.506 GB, free: 10 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.3771, allocations: 38.84 kB / 0.506 GB, free: 9.953 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/0.3771, allocations: 0 / 0.506 GB, free: 9.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.004252/0.3813, allocations: 1.778 MB / 0.5078 GB, free: 8.098 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.3814, allocations: 55.84 kB / 0.5078 GB, free: 8.031 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.3816, allocations: 262.4 kB / 0.5081 GB, free: 7.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.3817, allocations: 33.7 kB / 0.5081 GB, free: 7.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.3818, allocations: 256.4 kB / 0.5083 GB, free: 7.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.3819, allocations: 167 kB / 0.5085 GB, free: 7.312 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/0.3819, allocations: 8 kB / 0.5085 GB, free: 7.305 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.3821, allocations: 346.8 kB / 0.5088 GB, free: 6.957 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/0.3824, allocations: 153.1 kB / 0.509 GB, free: 6.809 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003702/0.3828, allocations: 232.8 kB / 0.5092 GB, free: 6.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/0.3831, allocations: 184.8 kB / 0.5094 GB, free: 6.375 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3831, allocations: 0 / 0.5094 GB, free: 6.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000984/0.3841, allocations: 0.552 MB / 0.5099 GB, free: 5.809 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3842, allocations: 7.953 kB / 0.5099 GB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3842, allocations: 0.5469 kB / 0.5099 GB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002535/0.3844, allocations: 97.73 kB / 0.51 GB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004403/0.3849, allocations: 103.8 kB / 0.5101 GB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/0.3873, allocations: 3.265 MB / 0.5133 GB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.3876, allocations: 15.98 kB / 0.5133 GB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.3877, allocations: 17.88 kB / 0.5133 GB, free: 2.035 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * 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: 2 {(1,100.0%) 5,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002299/0.3879, allocations: 193.7 kB / 0.5135 GB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.388, allocations: 35.53 kB / 0.5136 GB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.698e-05/0.3881, allocations: 51.73 kB / 0.5136 GB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3881, allocations: 4.188 kB / 0.5136 GB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.3881, allocations: 4 kB / 0.5136 GB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3881, allocations: 7.938 kB / 0.5136 GB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005509/0.3887, allocations: 0.5329 MB / 0.5141 GB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3887, allocations: 0 / 0.5141 GB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004016/0.3891, allocations: 94.31 kB / 0.5142 GB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002164/0.3893, allocations: 85.67 kB / 0.5143 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.3894, allocations: 11.98 kB / 0.5143 GB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002315/0.3917, allocations: 3.251 MB / 0.5175 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3917, allocations: 0 / 0.5175 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.393, allocations: 0.7966 MB / 0.5183 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.3932, allocations: 148.6 kB / 0.5184 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.443e-05/0.3932, allocations: 8 kB / 0.5184 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.3935, allocations: 32.05 kB / 0.5185 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.301e-05/0.3936, allocations: 36.38 kB / 0.5185 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.3937, allocations: 12 kB / 0.5185 GB, free: 12.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001914/0.3939, allocations: 208.4 kB / 0.5187 GB, free: 12.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3939, allocations: 0 / 0.5187 GB, free: 12.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005965/0.3945, allocations: 120 kB / 0.5188 GB, free: 12.05 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (transformer.converter1.i,transformer.converter1.Phi) * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * 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: 2 {(1,100.0%) 5,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001613/0.3961, allocations: 1.342 MB / 0.5201 GB, free: 10.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.3973, allocations: 0.6661 MB / 0.5208 GB, free: 9.988 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3973, allocations: 0 / 0.5208 GB, free: 9.988 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007042/0.398, allocations: 496 kB / 0.5212 GB, free: 9.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.3984, allocations: 46.81 kB / 0.5213 GB, free: 9.438 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004236/0.4026, allocations: 3.724 MB / 0.5249 GB, free: 5.633 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.403, allocations: 0.8512 MB / 0.5258 GB, free: 4.75 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001959/0.4032, allocations: 43.2 kB / 0.5258 GB, free: 4.711 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.4034, allocations: 164.9 kB / 0.526 GB, free: 4.551 MB / 394.7 MB Notification: Performance of SimCode: time 7.01e-07/0.4034, allocations: 4 kB / 0.526 GB, free: 4.547 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.4226, allocations: 8.08 MB / 0.5339 GB, free: 12.75 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/0.4228, allocations: 192 kB / 0.534 GB, free: 12.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.027/2.45, allocations: 0 / 0.534 GB, free: 12.5 MB / 410.7 MB (rm -f HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe ; mkfifo HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe >> ../files/HanserModelica_HanserModelica.Magnetic.TestTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Magnetic_TestTransformer_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Magnetic_TestTransformer.fmu > HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe 2>&1)