Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) 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(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",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.00119/0.00119, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009001/0.0009002, allocations: 83.94 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1757/0.1757, allocations: 37.99 MB / 348 MB, free: 7.766 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.728e-05/1.72e-05, allocations: 4 kB / 410.7 MB, free: 46.85 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1136, allocations: 56.31 MB / 467 MB, free: 6.477 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4078/0.5215, allocations: 99.52 MB / 0.5532 GB, free: 11.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.5219, allocations: 87.95 kB / 0.5533 GB, free: 11.25 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03822/0.5601, allocations: 13.95 MB / 0.5669 GB, free: 13.18 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5601, allocations: 0 / 0.5669 GB, free: 13.18 MB / 411.1 MB Notification: Performance of Transformations before backend: time 3.546e-05/0.5602, allocations: 19.98 kB / 0.567 GB, free: 13.16 MB / 411.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001795/0.562, allocations: 0.884 MB / 0.5678 GB, free: 12.23 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.5621, allocations: 8.031 kB / 0.5678 GB, free: 12.22 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.5623, allocations: 83.09 kB / 0.5679 GB, free: 12.14 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002777/0.565, allocations: 1.097 MB / 0.569 GB, free: 11 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.5652, allocations: 100.7 kB / 0.5691 GB, free: 10.89 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.072e-05/0.5653, allocations: 32 kB / 0.5691 GB, free: 10.86 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009091/0.5662, allocations: 0.5531 MB / 0.5696 GB, free: 10.3 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009549/0.5672, allocations: 0.6598 MB / 0.5703 GB, free: 9.605 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.5672, allocations: 4 kB / 0.5703 GB, free: 9.602 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.084e-05/0.5673, allocations: 4 kB / 0.5703 GB, free: 9.598 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.5673, allocations: 19.89 kB / 0.5703 GB, free: 9.578 MB / 411.1 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0038/0.5711, allocations: 2.61 MB / 0.5729 GB, free: 6.879 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.5722, allocations: 0.7338 MB / 0.5736 GB, free: 6.09 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.5725, allocations: 273.5 kB / 0.5738 GB, free: 5.816 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.5726, allocations: 4 kB / 0.5738 GB, free: 5.812 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.5726, allocations: 42.56 kB / 0.5739 GB, free: 5.762 MB / 411.1 MB Notification: Performance of pre-optimization done (n=38): time 2.615e-06/0.5726, allocations: 0 / 0.5739 GB, free: 5.762 MB / 411.1 MB Notification: Performance of matching and sorting (n=39): time 0.002005/0.5746, allocations: 1.264 MB / 0.5751 GB, free: 4.418 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.5747, allocations: 81.11 kB / 0.5752 GB, free: 4.32 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000351/0.5751, allocations: 321.2 kB / 0.5755 GB, free: 4.004 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.5751, allocations: 29.73 kB / 0.5755 GB, free: 3.969 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.5753, allocations: 312.1 kB / 0.5758 GB, free: 3.656 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.823e-05/0.5754, allocations: 134.7 kB / 0.576 GB, free: 3.523 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/0.5754, allocations: 0 / 0.576 GB, free: 3.523 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5756, allocations: 358.8 kB / 0.5763 GB, free: 3.164 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.5758, allocations: 181.1 kB / 0.5765 GB, free: 2.988 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.5761, allocations: 289.3 kB / 0.5767 GB, free: 2.66 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.5764, allocations: 211.8 kB / 0.5769 GB, free: 2.453 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5764, allocations: 0 / 0.5769 GB, free: 2.453 MB / 411.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008311/0.5773, allocations: 0.6589 MB / 0.5776 GB, free: 1.762 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.5773, allocations: 13.66 kB / 0.5776 GB, free: 1.75 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5773, allocations: 0 / 0.5776 GB, free: 1.75 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/0.5775, allocations: 66.09 kB / 0.5777 GB, free: 1.68 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.579, allocations: 375.6 kB / 0.578 GB, free: 1.312 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004426/0.5835, allocations: 5.645 MB / 0.5835 GB, free: 11.21 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/0.5839, allocations: 31.97 kB / 0.5836 GB, free: 11.18 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.584, allocations: 20 kB / 0.5836 GB, free: 11.16 MB / 427.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.5842, allocations: 114.8 kB / 0.5837 GB, free: 11.04 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007865/0.585, allocations: 0.5695 MB / 0.5843 GB, free: 10.44 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.139e-05/0.585, allocations: 51.39 kB / 0.5843 GB, free: 10.39 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009054/0.5859, allocations: 0.5984 MB / 0.5849 GB, free: 9.762 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.586, allocations: 4 kB / 0.5849 GB, free: 9.758 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.586, allocations: 0 / 0.5849 GB, free: 9.758 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.586, allocations: 7.984 kB / 0.5849 GB, free: 9.75 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.5879, allocations: 1.296 MB / 0.5862 GB, free: 8.375 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.5879, allocations: 0 / 0.5862 GB, free: 8.375 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001703/0.5896, allocations: 407.6 kB / 0.5866 GB, free: 7.977 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000188/0.5898, allocations: 61.62 kB / 0.5866 GB, free: 7.91 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/0.5899, allocations: 7.984 kB / 0.5866 GB, free: 7.902 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/0.5918, allocations: 2.734 MB / 0.5893 GB, free: 4.934 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.5918, allocations: 4.031 kB / 0.5893 GB, free: 4.93 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.5931, allocations: 0.9821 MB / 0.5903 GB, free: 3.875 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.5932, allocations: 116.5 kB / 0.5904 GB, free: 3.742 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.811e-05/0.5933, allocations: 8 kB / 0.5904 GB, free: 3.734 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.5937, allocations: 31.95 kB / 0.5904 GB, free: 3.703 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.5938, allocations: 35.95 kB / 0.5904 GB, free: 3.668 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.5939, allocations: 15.98 kB / 0.5905 GB, free: 3.652 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0002962/0.5942, allocations: 246.9 kB / 0.5907 GB, free: 3.414 MB / 427.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5942, allocations: 4 kB / 0.5907 GB, free: 3.41 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0006957/0.5949, allocations: 128 kB / 0.5908 GB, free: 3.285 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001607/0.5965, allocations: 1.74 MB / 0.5925 GB, free: 1.473 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.002015/0.5985, allocations: 0.9064 MB / 0.5934 GB, free: 0.5469 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5985, allocations: 384 / 0.5934 GB, free: 0.5469 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001728/0.6003, allocations: 0.7536 MB / 0.5941 GB, free: 15.77 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006611/0.601, allocations: 109.7 kB / 0.5942 GB, free: 15.67 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.6032, allocations: 1.202 MB / 0.5954 GB, free: 14.41 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/0.6037, allocations: 0.9604 MB / 0.5964 GB, free: 13.43 MB / 443.1 MB Notification: Performance of simCode: alias equations: time 0.0003256/0.6041, allocations: 96.34 kB / 0.5964 GB, free: 13.33 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/0.6043, allocations: 199.4 kB / 0.5966 GB, free: 13.14 MB / 443.1 MB Notification: Performance of SimCode: time 7.41e-07/0.6044, allocations: 0 / 0.5966 GB, free: 13.14 MB / 443.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.6348, allocations: 10.43 MB / 0.6068 GB, free: 2.723 MB / 443.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/0.635, allocations: 141.9 kB / 0.6069 GB, free: 2.535 MB / 443.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/2.897, allocations: 0 / 0.6069 GB, free: 2.535 MB / 443.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat does not exist to compare? outputFormat=mat