Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001148/0.001148, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008963/0.0008963, allocations: 90.89 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.06e-05, allocations: 4 kB / 350.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1092, allocations: 51.49 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3615/0.4707, allocations: 85.23 MB / 487.4 MB, free: 4.285 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.4711, allocations: 79.64 kB / 487.4 MB, free: 4.246 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03921/0.5103, allocations: 17.13 MB / 0.4927 GB, free: 4.586 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5103, allocations: 0 / 0.4927 GB, free: 4.586 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.827e-05/0.5104, allocations: 10.16 kB / 0.4927 GB, free: 4.578 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002143/0.5125, allocations: 0.8142 MB / 0.4935 GB, free: 3.723 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.5126, allocations: 8.031 kB / 0.4935 GB, free: 3.715 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002451/0.5128, allocations: 111.7 kB / 0.4937 GB, free: 3.598 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/0.5149, allocations: 307.1 kB / 0.4939 GB, free: 3.297 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005739/0.5155, allocations: 338.1 kB / 0.4943 GB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.118e-05/0.5155, allocations: 48.92 kB / 0.4943 GB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.5156, allocations: 56 kB / 0.4944 GB, free: 2.824 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.5169, allocations: 0.6941 MB / 0.495 GB, free: 2.117 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.5169, allocations: 0 / 0.495 GB, free: 2.117 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.219e-05/0.517, allocations: 28 kB / 0.4951 GB, free: 2.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.517, allocations: 16 kB / 0.4951 GB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.5182, allocations: 0.6729 MB / 0.4957 GB, free: 1.398 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003718/0.5219, allocations: 2.51 MB / 0.4982 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.5233, allocations: 1.222 MB / 0.4994 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003379/0.5236, allocations: 234.1 kB / 0.4996 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/0.5238, allocations: 175 kB / 0.4998 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.5238, allocations: 38.94 kB / 0.4998 GB, free: 12.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 1.943e-06/0.5239, allocations: 0 / 0.4998 GB, free: 12.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.0009477/0.5248, allocations: 0.4958 MB / 0.5003 GB, free: 12.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.5249, allocations: 88.81 kB / 0.5004 GB, free: 12.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.5252, allocations: 244.6 kB / 0.5006 GB, free: 12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.5252, allocations: 29.7 kB / 0.5006 GB, free: 11.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.5254, allocations: 248.3 kB / 0.5009 GB, free: 11.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.5255, allocations: 169.5 kB / 0.501 GB, free: 11.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.5255, allocations: 8 kB / 0.5011 GB, free: 11.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.5257, allocations: 346.8 kB / 0.5014 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.526, allocations: 185.1 kB / 0.5016 GB, free: 11.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/0.5264, allocations: 312.5 kB / 0.5019 GB, free: 10.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.5267, allocations: 212.5 kB / 0.5021 GB, free: 10.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.5268, allocations: 4 kB / 0.5021 GB, free: 10.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001039/0.5278, allocations: 0.6045 MB / 0.5027 GB, free: 9.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005601/0.5284, allocations: 1.395 MB / 0.504 GB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.5284, allocations: 4 kB / 0.504 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002517/0.5287, allocations: 60.77 kB / 0.5041 GB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.5291, allocations: 111.9 kB / 0.5042 GB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.5308, allocations: 1.588 MB / 0.5057 GB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.5312, allocations: 67.36 kB / 0.5058 GB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-05/0.5312, allocations: 27.98 kB / 0.5058 GB, free: 6.344 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.5312, allocations: 4 kB / 0.5058 GB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009735/0.5322, allocations: 0.5462 MB / 0.5064 GB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.5322, allocations: 4 kB / 0.5064 GB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.5324, allocations: 48.83 kB / 0.5064 GB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.5328, allocations: 112.2 kB / 0.5065 GB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.5342, allocations: 1.5 MB / 0.508 GB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003143/0.5345, allocations: 51.53 kB / 0.508 GB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/0.5346, allocations: 23.98 kB / 0.5081 GB, free: 3.918 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001858/0.5347, allocations: 140.8 kB / 0.5082 GB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-05/0.5348, allocations: 31.62 kB / 0.5082 GB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.5359, allocations: 0.5904 MB / 0.5088 GB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.536, allocations: 12 kB / 0.5088 GB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.536, allocations: 4.188 kB / 0.5088 GB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.536, allocations: 3.984 kB / 0.5088 GB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.5379, allocations: 1.252 MB / 0.51 GB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.5379, allocations: 0 / 0.51 GB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003901/0.5383, allocations: 95.88 kB / 0.5101 GB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001682/0.5385, allocations: 56.77 kB / 0.5102 GB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.5385, allocations: 13.2 kB / 0.5102 GB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.5399, allocations: 1.582 MB / 0.5117 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5399, allocations: 0 / 0.5117 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.5412, allocations: 0.8976 MB / 0.5126 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.5414, allocations: 152.6 kB / 0.5128 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.027e-05/0.5414, allocations: 12.12 kB / 0.5128 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.5417, allocations: 31.98 kB / 0.5128 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.5418, allocations: 40.41 kB / 0.5129 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.5419, allocations: 19.98 kB / 0.5129 GB, free: 14.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001851/0.5421, allocations: 183.1 kB / 0.513 GB, free: 14.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5421, allocations: 0 / 0.513 GB, free: 14.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009561/0.543, allocations: 271.1 kB / 0.5133 GB, free: 14.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001737/0.5448, allocations: 1.515 MB / 0.5148 GB, free: 12.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.5464, allocations: 1.032 MB / 0.5158 GB, free: 11.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5464, allocations: 0 / 0.5158 GB, free: 11.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004911/0.5469, allocations: 385 kB / 0.5162 GB, free: 11.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.5472, allocations: 38.8 kB / 0.5162 GB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.5487, allocations: 0.7757 MB / 0.517 GB, free: 10.47 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.5491, allocations: 0.8369 MB / 0.5178 GB, free: 9.602 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001363/0.5505, allocations: 1.085 MB / 0.5188 GB, free: 8.531 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.5507, allocations: 155.4 kB / 0.519 GB, free: 8.379 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5507, allocations: 0 / 0.519 GB, free: 8.379 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.577, allocations: 9.579 MB / 0.5283 GB, free: 15.06 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.5772, allocations: 182.3 kB / 0.5285 GB, free: 14.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/2.846, allocations: 0 / 0.5285 GB, free: 14.84 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat does not exist to compare? outputFormat=mat