Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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) 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(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",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.001182/0.001182, allocations: 93.83 kB / 16.3 MB, free: 5.992 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.001325/0.001325, allocations: 183.1 kB / 17.19 MB, free: 5.906 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.431/1.431, allocations: 223.2 MB / 241.1 MB, free: 5.461 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002905, allocations: 6.406 kB / 300.8 MB, free: 5.965 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09554/0.09585, allocations: 50.42 MB / 351.2 MB, free: 11.65 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003172/0.09906, allocations: 2.643 MB / 353.9 MB, free: 8.996 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.1014, allocations: 1.192 MB / 355.1 MB, free: 7.797 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003708/0.1018, allocations: 8 kB / 355.1 MB, free: 7.789 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004355/0.1022, allocations: 107.4 kB / 355.2 MB, free: 7.684 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.1034, allocations: 405.7 kB / 355.6 MB, free: 7.289 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.1038, allocations: 119.8 kB / 355.7 MB, free: 7.172 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007399/0.1045, allocations: 311.4 kB / 356 MB, free: 6.867 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.1048, allocations: 111.4 kB / 356.1 MB, free: 6.754 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.105, allocations: 143.4 kB / 356.2 MB, free: 6.613 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.1053, allocations: 163.3 kB / 356.4 MB, free: 6.453 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.465e-05/0.1054, allocations: 24 kB / 356.4 MB, free: 6.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003008/0.1057, allocations: 119.9 kB / 356.5 MB, free: 6.312 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.194e-05/0.1057, allocations: 63.69 kB / 356.6 MB, free: 6.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.693e-05/0.1058, allocations: 93.52 kB / 356.7 MB, free: 6.152 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004419/0.1063, allocations: 387 kB / 357.1 MB, free: 5.773 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1063, allocations: 0 / 357.1 MB, free: 5.773 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1063, allocations: 0 / 357.1 MB, free: 5.773 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.1063, allocations: 0 / 357.1 MB, free: 5.773 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001441/0.1078, allocations: 0.6901 MB / 357.8 MB, free: 5.031 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1078, allocations: 8.031 kB / 357.8 MB, free: 5.023 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/0.1079, allocations: 74.48 kB / 357.8 MB, free: 4.941 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005996/0.1085, allocations: 103.4 kB / 357.9 MB, free: 4.84 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/0.109, allocations: 295.4 kB / 358.2 MB, free: 4.512 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.109, allocations: 29 kB / 358.3 MB, free: 4.484 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.1091, allocations: 35.94 kB / 358.3 MB, free: 4.449 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005755/0.1097, allocations: 345.3 kB / 358.6 MB, free: 4.102 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1097, allocations: 8 kB / 358.6 MB, free: 4.094 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/0.1097, allocations: 12 kB / 358.7 MB, free: 4.082 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.1097, allocations: 11.95 kB / 358.7 MB, free: 4.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004778/0.1102, allocations: 258.1 kB / 358.9 MB, free: 3.82 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/0.1122, allocations: 1.339 MB / 360.3 MB, free: 2.379 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.1126, allocations: 185.2 kB / 360.4 MB, free: 2.18 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007678/0.1134, allocations: 0.8791 MB / 361.3 MB, free: 1.199 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.1135, allocations: 30.56 kB / 361.3 MB, free: 1.16 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.1135, allocations: 0 / 361.3 MB, free: 1.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.000547/0.114, allocations: 241.3 kB / 361.6 MB, free: 0.918 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.1141, allocations: 77.11 kB / 361.7 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.1143, allocations: 283 kB / 361.9 MB, free: 0.543 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.1144, allocations: 33.7 kB / 362 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.1145, allocations: 235.4 kB / 362.2 MB, free: 276 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.1146, allocations: 67.09 kB / 362.3 MB, free: 208 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/0.1146, allocations: 8 kB / 362.3 MB, free: 200 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1147, allocations: 338.8 kB / 362.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.1149, allocations: 72.61 kB / 362.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.1151, allocations: 202.3 kB / 362.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.1153, allocations: 99.92 kB / 363 MB, free: 15.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1153, allocations: 0 / 363 MB, free: 15.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000511/0.1158, allocations: 332.7 kB / 363.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.1158, allocations: 8 kB / 363.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.1159, allocations: 4 kB / 363.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1159, allocations: 8.562 kB / 363.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.1162, allocations: 87.88 kB / 363.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.1162, allocations: 11.94 kB / 363.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.1164, allocations: 35.69 kB / 363.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.1164, allocations: 23.92 kB / 363.5 MB, free: 14.92 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.1166, allocations: 149.7 kB / 363.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/0.1166, allocations: 27.67 kB / 363.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.318e-05/0.1167, allocations: 37.73 kB / 363.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1167, allocations: 4 kB / 363.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.1167, allocations: 0 / 363.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1167, allocations: 0 / 363.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006408/0.1174, allocations: 0.5146 MB / 364.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.1174, allocations: 0 / 364.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.1176, allocations: 51.94 kB / 364.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.1176, allocations: 0 / 364.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.1176, allocations: 11.98 kB / 364.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1176, allocations: 0 / 364.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1177, allocations: 0 / 364.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005199/0.1182, allocations: 453 kB / 364.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.404e-05/0.1183, allocations: 100.8 kB / 364.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.1183, allocations: 12.06 kB / 364.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.1185, allocations: 15.98 kB / 364.8 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.1186, allocations: 19.88 kB / 364.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.1186, allocations: 4 kB / 364.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001698/0.1188, allocations: 198 kB / 365 MB, free: 13.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1188, allocations: 0 / 365 MB, free: 13.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004327/0.1192, allocations: 79.77 kB / 365.1 MB, free: 13.14 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008283/0.1201, allocations: 1.146 MB / 366.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003631/0.1204, allocations: 195.2 kB / 366.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1204, allocations: 4 kB / 366.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.1206, allocations: 79.97 kB / 366.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.1209, allocations: 28.81 kB / 366.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.1241, allocations: 4.655 MB / 371.2 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.1244, allocations: 0.7794 MB / 372 MB, free: 6.062 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000143/0.1246, allocations: 34.95 kB / 372 MB, free: 6.027 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.1247, allocations: 103.4 kB / 372.1 MB, free: 5.926 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1247, allocations: 0 / 372.1 MB, free: 5.926 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01515/0.1399, allocations: 4.91 MB / 377 MB, free: 1.207 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.1401, allocations: 222.5 kB / 377.3 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/1.83, allocations: 7.688 kB / 377.3 MB, free: 0.957 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat does not exist to compare? outputFormat=mat