Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008432/0.0008432, allocations: 86.22 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.582e-05/1.584e-05, allocations: 4 kB / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08618/0.08621, allocations: 47.58 MB / 363.2 MB, free: 6.992 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3331/0.4194, allocations: 82.37 MB / 445.5 MB, free: 13.05 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/0.4196, allocations: 81.52 kB / 445.6 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04248/0.4621, allocations: 17.8 MB / 463.4 MB, free: 14.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.4622, allocations: 0 / 463.4 MB, free: 14.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.826e-05/0.4622, allocations: 20 kB / 463.4 MB, free: 14.71 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.001871/0.4641, allocations: 0.838 MB / 464.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.4642, allocations: 8.031 kB / 464.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002811/0.467, allocations: 457.1 kB / 464.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004867/0.4675, allocations: 369.9 kB / 465.1 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.4675, allocations: 20 kB / 465.1 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.654e-05/0.4676, allocations: 40 kB / 465.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001165/0.4688, allocations: 0.7749 MB / 465.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.4699, allocations: 0.6672 MB / 466.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.4699, allocations: 0 / 466.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.429e-05/0.47, allocations: 0 / 466.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.47, allocations: 19.98 kB / 466.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003732/0.4737, allocations: 2.61 MB / 469.2 MB, free: 9.961 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.4754, allocations: 1.876 MB / 471.1 MB, free: 7.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.4757, allocations: 181.1 kB / 471.3 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.4758, allocations: 89.92 kB / 471.4 MB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.4758, allocations: 49.81 kB / 471.4 MB, free: 7.664 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 2.274e-06/0.4758, allocations: 0 / 471.4 MB, free: 7.664 MB / 346.7 MB Notification: Performance of matching and sorting (n=50): time 0.001099/0.4769, allocations: 464.8 kB / 471.9 MB, free: 7.309 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.477, allocations: 81.55 kB / 471.9 MB, free: 7.211 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.4773, allocations: 270.8 kB / 472.2 MB, free: 7.008 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.4774, allocations: 29.7 kB / 472.2 MB, free: 6.973 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.4776, allocations: 304.9 kB / 472.5 MB, free: 6.703 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.4777, allocations: 165.1 kB / 472.7 MB, free: 6.559 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.4778, allocations: 0 / 472.7 MB, free: 6.559 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4779, allocations: 344.1 kB / 473 MB, free: 6.227 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.4782, allocations: 188.5 kB / 473.2 MB, free: 6.129 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.4786, allocations: 384.1 kB / 473.6 MB, free: 5.762 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/0.4792, allocations: 326.3 kB / 473.9 MB, free: 5.535 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.4792, allocations: 8 kB / 473.9 MB, free: 5.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001326/0.4806, allocations: 0.7258 MB / 474.6 MB, free: 4.977 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001003/0.4816, allocations: 2.436 MB / 477.1 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.4816, allocations: 8 kB / 477.1 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002505/0.4819, allocations: 57.39 kB / 477.1 MB, free: 2.336 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005278/0.4824, allocations: 146.5 kB / 477.3 MB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.4838, allocations: 1.526 MB / 478.8 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/0.4842, allocations: 63.42 kB / 478.9 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/0.4843, allocations: 33.61 kB / 478.9 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.4843, allocations: 4 kB / 478.9 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001299/0.4856, allocations: 0.6716 MB / 479.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.4856, allocations: 8.781 kB / 479.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001614/0.4858, allocations: 64.95 kB / 479.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004811/0.4863, allocations: 131.8 kB / 479.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.4874, allocations: 1.448 MB / 481.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.4878, allocations: 43.53 kB / 481.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.814e-05/0.4879, allocations: 39.92 kB / 481.3 MB, free: 14.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * 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.0001767/0.4881, allocations: 120.9 kB / 481.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009451/0.489, allocations: 468.3 kB / 481.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.956e-05/0.4891, allocations: 31.62 kB / 481.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.4903, allocations: 0.524 MB / 482.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.4903, allocations: 11.98 kB / 482.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.4903, allocations: 0 / 482.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.4903, allocations: 0 / 482.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.4922, allocations: 1.125 MB / 483.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.4922, allocations: 4 kB / 483.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003715/0.4926, allocations: 84.08 kB / 483.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001742/0.4927, allocations: 56.83 kB / 483.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.4928, allocations: 8 kB / 483.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.4941, allocations: 1.517 MB / 485.2 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4941, allocations: 0 / 485.2 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.4953, allocations: 0.7686 MB / 486 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.4955, allocations: 152.6 kB / 486.2 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.759e-05/0.4956, allocations: 8.078 kB / 486.2 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.4959, allocations: 23.97 kB / 486.2 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.614e-05/0.496, allocations: 32.39 kB / 486.2 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.496, allocations: 15.94 kB / 486.2 MB, free: 8.949 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002096/0.4962, allocations: 200.5 kB / 486.4 MB, free: 8.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4962, allocations: 0 / 486.4 MB, free: 8.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001164/0.4974, allocations: 286.8 kB / 486.7 MB, free: 8.469 MB / 362.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 (46): * Single equations (assignments): 43 * 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.001734/0.4992, allocations: 1.356 MB / 488.1 MB, free: 7.082 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.5008, allocations: 1.004 MB / 489.1 MB, free: 6.062 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5008, allocations: 0 / 489.1 MB, free: 6.062 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004076/0.5013, allocations: 315.4 kB / 489.4 MB, free: 5.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.5016, allocations: 32.72 kB / 489.4 MB, free: 5.715 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003496/0.5051, allocations: 1.276 MB / 490.7 MB, free: 4.398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.5056, allocations: 0.8569 MB / 491.5 MB, free: 3.512 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009387/0.5065, allocations: 0.5763 MB / 492.1 MB, free: 2.938 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.5068, allocations: 175.4 kB / 492.3 MB, free: 2.77 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5068, allocations: 4 kB / 492.3 MB, free: 2.766 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.5376, allocations: 8.35 MB / 0.4889 GB, free: 10.41 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/0.5378, allocations: 167.3 kB / 0.4891 GB, free: 10.21 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/2.591, allocations: 0 / 0.4891 GB, free: 10.21 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat does not exist to compare? outputFormat=mat